Stumble Upon Count Buttons for Blogger

Friday, June 15, 2012 0 comments

stumbleupon-counter-for-blogger Like all other Social networks, StumbleUpon has also got some really elegant sharing buttons. StumbleUpon has got 6 different  sharing buttons.  You can choose any of these six. Integrating this into your blogger blog will require some template Edits.

image

How to add the Stumble Upon Counter Button  to Blogger?

1. First of all pick one of these 6 Button Styles.

2.Now Login to your Blogger Template and navigate to Design   >  Edit HTML and click on the check box which says “Expand Widget Templates”

3. Look for <data:post.body/> and immediately above it paste the following code.

<b:if cond='data:blog.pageType == "item"'>
<div style="float:right;padding:4px;">
<script expr:src='"http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=" + data:post.canonicalUrl'/>
</div>
</b:if>


4.Save the Template and you will see a vertical Stumbleupon counter(style 5) on your post. In the code above, you can change s=5 to s=1 or s=2 or s=3 or s=4 or s=6 to get the other button styles.



5. If you need the counter on every page, then remove the two lines of code in Green Color.



6. If you want the button to appear on the left side, then change float:right to float:left


Source: http://www.bloggerplugins.org/2010/04/stumble-upon-count-buttons-for-blogger.html
Share this article :

Post a Comment

 
Copyright © 2012. Blogger Tips For Beginners - All Rights Reserved
The information is compiled from various sources on the internet