If you add default StumbleUpon Button code on WordPress Post page(Single.php) it will work. but this wont work if you would like to use this on Home Page(index.php) it wont work. Like i did tried to add this on TheTechJournal.com‘s home page. It was not woking, showing only home page view count. Then i altered the code with parmalink.
Use This code
<script src=”http://www.stumbleupon.com/hostedbadge.php?s=5&r=<?php the_permalink() ?>”></script>
6 Responses to “Add StumbleUpon Button With Counter on WordPress Index”
Leave a Reply
- uberVU - social comments
Social comments and analytics for this post... This post was mentioned on Twitter by elitecataphract: Add StumbleUpon Button With Counter on WordPress Index: If you add default StumbleUpon Button code on Word... http://bit.ly/djXdjh...