Add StumbleUpon Buttons [With Counter] To Blogger Blogs

Add StmbleUpon Buttons To Blogger BlogsNow you can add "Stumble It" buttons/badges to your blogs, along with a counter to show the number of stumblers stumbled on your site/post via StumbleUpon.com
The buttons are straight from StumbleUpon, with no modification required. Your readers will simply click these buttons to submit your pages to StumbleUpon and all the visitors coming to your page from SU will be counted by SU and the number of visitors will be shown in these buttons.
Of all the social bookmarking sites I have ever used, I prefer StumbleUpon for the massive traffic it provides. Two of my posts (Post #1 and Post #2) already received over 20,000 visits each, from StumbleUpon. BTW if you liked any of those posts, I would be happy to get a thumbs up from you :)

STEPS TO FOLLOW:

STEP #1
Go to this page [StumbleUpon Buttons] and select the type of button you want to use on your blog.
StumbleUpon Buttons
In the second step, select the first option "Any web page or blog".
And finally copy the code in the third step. It will look something like this:
<script src="http://www.stumbleupon.com/hostedbadge.php?s=2"></script>

STEP #2
Now log in to Blogger, go to Layout -> Edit HTML and mark the tick box "Expand Widget Templates". Then find (CTRL+F) this code in your template:
<data:post.body/>

And immediately ABOVE/BEFORE it, paste the code you just got from StumbleUpon, with two more additional lines of code (highlighted as BOLD, below) to hide these buttons in your blogs homepage.
<!--SU-BUTTON-STARTS-->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
&lt;script src=&quot;http://www.stumbleupon.com/hostedbadge.php?s=2&quot;&gt;&lt;/script&gt;
</b:if>
<!--SU-BUTTON-STOPS-->

Save the template and Show off your big numbers!

ProBlogger - Inspiring Others Realize Their Dreams!

Share this

Related Posts

24 comments

Write comments
April 07, 2010 11:00 AM delete

Oh Great !
Thanks For Sharing

Reply
avatar
April 09, 2010 10:33 AM delete

It's like a digg or tweet button, isn't it?

Reply
avatar
April 09, 2010 10:37 AM delete

Yeah, but unlike Digg and Twitter buttons, it doesn't count the number of thumbs ups (cause, in Digg and Twitter buttons, number of Diggs and Retweets are counted).
In fact these buttons simply count the number of visitors coming from StumbleUpon, so of course sites which mainly depend on SU for traffic, can show huge numbers on these buttons, further increasing the chances of getting more thumbs ups.

Reply
avatar
Q
June 11, 2010 12:54 AM delete

It doesn't work...any ideas what I did wrong??

Reply
avatar
June 16, 2010 2:20 PM delete

I want to know how to get the widget you have on under every post...which is |Share this post| |Bookmark this post| and that please can you tell me

my blog

http://somearticles4u.blogspot.com

Reply
avatar
June 16, 2010 11:42 PM delete

That's a simple multi-tabbed widget, with content of my choice. You can create a similar widget, by following this tutorial (read part 1 too)

Collapsible Multi-Tabbed Widget For Blogger Blogs

Reply
avatar
Anonymous
June 18, 2010 4:46 PM delete

These tutorials are excellent, thanks!

I'm having a little but of trouble though. I've tried adding both the tweet this button and the stumbleupon button but the stumbleupon button keeps showing up on the line below the tweetme button. I tried right aligning the button but it's still a line below. Any help would be appreciated!

Reply
avatar
June 19, 2010 9:05 PM delete

Thanks for the tip! I am trying to align stumbleupon and tweetmeme buttons on my blog, but am having trouble figuring out what code I should be using to properly align them (without touching the post body). Yours do this about, but what code should I use? Thanks!

Reply
avatar
June 20, 2010 5:24 AM delete

Instead of copying the codes of both the buttons directly, paste them inside a html-table. Like this:

<table border="0"><tr>
<td width="70%">StumbleUpon_Code_Comes_Here</td>
<td>TweetMeme_Code_Comes_Here</td>
</tr></table>

Change the width from 70% to any other value to perfectly place the buttons.

Reply
avatar
June 20, 2010 8:31 AM delete

oh great , it s my first visit to yours great site with lots of info. thanks

Reply
avatar
July 28, 2010 1:16 AM delete

Hmm. The problem I have is that the badge is at the top of the post. How can I get it to the bottom of the post?

Reply
avatar
July 28, 2010 10:18 AM delete

In STEP #2, instead of pasting the code ABOVE it, paste it BELOW that code:
<data:post.body/>

Reply
avatar
September 23, 2010 10:41 AM delete

This has been very helpful to me. Not only that it hides the stumbleupon button and also the adsense ads on my home page! THanks thanks!

Reply
avatar
February 19, 2011 12:58 PM delete

i just looking for this stumbleupon badge, finally i got it from this site. no words to say thanks.....see where i put this badge in my blog


http://watchcricketmatch.blogspot.com/

Reply
avatar
March 24, 2011 8:59 PM delete

I'm having issues with blog posts and the stumble upon badge showing up twice if I've truncated my blog post. Any pointers? Check is out here: http://mantkowski.blogspot.com/2011/03/review-charcut-roast-house-in-calgary.html#more

Reply
avatar
March 28, 2011 9:43 AM delete

Hi there,

Couldn't find any buttons on your blog.

Reply
avatar
September 30, 2011 7:15 AM delete

really nice explained tutorial

Reply
avatar
February 03, 2013 12:39 PM delete

Brother.. nice post... can i get social sharing widget like yours below the post...

Reply
avatar

Comments are moderated on this blog

Allowed HTML tags: <b>, <i> and <a>

Comment Like This! and Optimize your blog EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng