Adding New StumbleUpon Badges To Blogs

Seeing that my Twittley submit button was bringing me no traffic and virtually now submissions lately I decided to switch my “social buttons” around a little bit and add one of the new StumbleUpon Submit buttons which tracks # of stumbles for articles.

The have lots of badges to choose from and sizes to accommodate just about any blog style.  All you need to do is go visit the site, select the badge style you link and get your code.  You can also find a plug-in for wordpress, but I prefer to simply add the code manually just by cutting and pasting it into my single.php file.

For those who are curious how my table at the top of my posts looks to set my badges, here is the custom code in my single.php

<table align=”left”><tr><td>
<div style=”clear:both; “>
<div style=”width:40px; margin:1px; float:left;”>
<script src=””></script>
<div style=”width:52px; margin:1px; float:left;”>
<script src=”″></script>
<div style=”width:50px; margin:1px; float:left;”>
<a href=”<?php the_permalink() ?>&title=<?php the_title(); ?>&srcURL=<?php bloginfo(‘url’); ?>” target=”_blank” rel=”nofollow external”><img src=”” width=”50″ /></a>
<div style=”width:55px; margin:1px; float:left;”>
<?php tweetmeme(); ?>


I just added the following code just above the <?php the_content(‘Read more…’); ?> section in the single.php.

With a little help it is easy to customize and add your own buttons to your single and index.php files and it is less memory intensive to add the script code manually than to use a WordPress plugin, so it is always better to add the code manually if you can.

-Dragon Blogger

Share Feedback We Want to Hear From You