Add your own digg this! in your wordpress blog

I just move out from blogger to WordPress. One of the key reason why I select wordpress as my blog software is WordPress have tons of plugins, and the other one is I can move my blog from another hosting company to another one with ease, because wordpress I think is the standard in blogging.

One of my favorite plugin is Related Post at, where it will returns a list of the related entries based on active/passive keyword matches. Works wonderfully at my blog, Love it.

I needed a plugin so my reader can save my current post in their or submit it to popular articles directories like Digg, Netscape or Stumble Upon. After searched for days and tried several plugins, I have not satisfied. So, I create my own code (by studied several WordPress blogs) and then modified my own theme file, then add my code in my wp loop (in my case index.php), just above of the end of a post.

This code will add link to save current post into, and submit it to articles directory like Digg, Stumble Upon and Netscape.

<!– The Code start here–><p>
<!– The Code to create link to, digg, Netscape’s and stumble upon –>
<!– Create by Budi Febrianto at –>
<!– This link will save your post in –>
<a href=”<?php the_permalink() ?>&title=<?php the_title(); ?>”> Save to</a> |
<!– This link will submit your article to Stumble Upon–>
<a href=”<?php the_permalink()?>&title=<?php the_title(); ?>”>Stumble It!</a> |
<!– This link will submit your article to netscape–>
<a href=”<?php the_permalink()?>/&T=<?php the_title(); ?>&sBy=feedflare”>Submit to Netscape</a> |
<!– And finally will submit your article to Digg –>
<a href=”<?php the_permalink() ?>&title=<?php the_title(); ?>”> Digg This! </a>
<!– The Code end here–></p>

This code works in my WordPress blog, but I have not tested in another blog. Fell free to copy the code in your own blog. If you like it and find it useful, please create a backlink to my site 🙂

1 thought on “Add your own digg this! in your wordpress blog

Leave a Reply