How to Add Digg, Stumble, Twitter share Buttons on Your Wordpress Blog

How to Add Digg, Stumble, Twitter share Buttons on Your WordPress Blog  
how to add digg, stumble, twitter share buttons on your wordpress blog
How to Add Digg, Stumble, Twitter share Buttons on Your Wordpress Blog
I my previous post I had wrote about How to add New Digg Buttons on your WordPress blog without plugin. I got better responses from my users and few of them asked to tell about adding Digg, stumble, Twitter buttons on the homepage of the blog.

So, with this post I am going to share how to add a Digg share button, stumble upon, Twitter share buttons on the WordPress blog without using plugin. Really, using Plugins for these small tasks are not a good strategy and it may leads to slow down your blog than usual.

Here is the code you can use to add Digg, Stumble, Twitter share buttons on your WordPress blog:

How to Add Digg, Stumble, Twitter share Buttons on Your WordPress Blog

<script type="text/javascript">tweetmeme_source = 'iliketocollect'; tweetmeme_url = '<?php the_permalink() ?>'; </script> <script type="text/javascript" src=""> </script>
 <a href="'<?php the_permalink() ?>' &title='<?php the_title() ?>' target="> <img style="border: 0px none; background: none repeat scroll 0px 50% transparent; padding: 0px;" src="" alt="" />
 <script type="text/javascript">
 digg_url = '<?php the_permalink() ?>';
digg_title = '<?php the_title();
 ?>'; digg_window = 'new';
<script src="" type="text/javascript’’>

After adding this code in your WordPress blog you need to support this code to look good. For giving extra look you should add some of the CSS.
.left { float:left;}
.twitme { padding: 0 6px 3px 0;}
Note: The above code must be placed before the:
<?php the_excerpt (); ?> or <?php the_content (); ?>
After completing these all the steps the Digg, Stumble, Twitter Share button would successfully added on your homepage. If you have any doubt or want any suggestion regarding the process, please share that with us through comments box given below.

Share on Google Plus

About Sanu Singhania

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment


  1. Here's a link to our share buttons:
    You can add all the buttons you need, and have them appear on the top and/or bottom of posts.
    For example, The Social Media Hat uses our buttons above their content and at the end of their posts. See how our buttons look on their site:
    Of course, you can customize your buttons in a variety of ways in your Settings.
    If you have any technical issues, feel free to reference our support center (http://support.shareaholic.... but if you can't find what you're looking for, submit a request and we'll be glad to help.