Add Digg Link to Your Wordpress Posts
Just a quick note to share with you about how to add Digg Link to your Wordpress post without installing any plugin.
1. Find The Loop in your WordPress theme’s index.php and the post-entry part in your single.php
2. Find the place where you would like to put your Digg this link. Somewhere right after <?php the_content(); ?>
3. Copy and paste the following code.
<a href=”http://digg.com/submit?phase=2
&url=<?php the_permalink() ?>
&title=<?php the_title(); ?>
&bodytext=<?php the_excerpt() ?>”
title=”Digg this story” target=”_blank”>
<img src=”http://digg.com/img/badges/91×17-digg-button.gif” width=”91″ height=”17″ alt=”Digg!” border=”0″ align=”absmiddle” />
</a>
4. OK, Done
You also can get the official Digg badges and buttons to put on your website or weblog. Feel free to alter them and customize them for your site.