By Adding a StumbleUpon Button your blog enable the visitors to submit your posts to StumbleUpon and you will get additional traffic.
How to do:
STEP #1 Choose your Stumble Upon button designFor style 1 code will be
<script src="http://www.stumbleupon.com/hostedbadge.php?s=1"></script>
For style 2 code will be
<script src="http://www.stumbleupon.com/hostedbadge.php?s=2"></script>
For style 3 code will be
<script src="http://www.stumbleupon.com/hostedbadge.php?s=3"></script>
For style 4 code will be
<script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script>
Final Step : First log on in your blogger account go to Design -> 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 below code
<!--SU-BUTTON-STARTS-->
<b:if cond='data:blog.pageType == "item"'>
<div style='float:right;padding:4px;'>
<!--SU-BUTTON-STOPS-->
Save the template then you will get this feature in your blog.<b:if cond='data:blog.pageType == "item"'>
<div style='float:right;padding:4px;'>
<script src='http://www.stumbleupon.com/hostedbadge.php?s=5'/>
</div>
</b:if><!--SU-BUTTON-STOPS-->
Customization
Lest Customize it as you like.Change style
At the begaining of this post i gives 4 style of ST button. If you like to use style 4 then just replace the red code.
How to add stumble upon button with Counter in blogger post.
For Showing button in Left side of post code will be
<!--SU-BUTTON-STARTS-->
<b:if cond='data:blog.pageType == "item"'>
<div style='float:left;padding:4px;'>
<script src='http://www.stumbleupon.com/hostedbadge.php?s=5'/>
</div>
</b:if>
<!--SU-BUTTON-STOPS-->
<b:if cond='data:blog.pageType == "item"'>
<div style='float:left;padding:4px;'>
<script src='http://www.stumbleupon.com/hostedbadge.php?s=5'/>
</div>
</b:if>
<!--SU-BUTTON-STOPS-->
For display button in home page code will be
<!--SU-BUTTON-STARTS-->
<div style='float:right;padding:4px;'>
<script src='http://www.stumbleupon.com/hostedbadge.php?s=5'/>
</div>
<!--SU-BUTTON-STOPS-->
Thats all. If you have any problem with this tutorials fill free to comment. I will happy to help you.<div style='float:right;padding:4px;'>
<script src='http://www.stumbleupon.com/hostedbadge.php?s=5'/>
</div>
<!--SU-BUTTON-STOPS-->
Shajjjad
Chittagong, Bangladesh
4 comments:
hello there, there's a new way to get the different social counts, check this link http://www.upgradedtutorials.info/php/get-the-delicious-stumble-and-linkedin-shares-count-using-php/. the code was so handy and useful, you can also use it as much as you want. Sparky!
Awesome posting and informative contents you have in this blog. I am sure people will get benefit from this post who is seeking to increase knowledge.
website design
Awesome information, you have made easy to share on quality websites. Sure bloggers will get benefit by this post, and I hope you will also provide the information like this in future.
http://knowrare.blogspot.in/2014/07/black-hat-seo-vs-what-hat-seo.html
Post a Comment