How to add a Digg button into your blog posts
Here i will teach you a very simple way to add a Digg button into your post.
This is a very simple wordpress theme hack.
Follow exactly the step below:
1. Edit your themes(index.php)
2. Look for the following code:
<?php the_content(__(’Read more »’)); ?>
3. Add the following code before the code listed above.
<div style=”float:left; margin: 0px 10px 0px 0px;”>
<script type=”text/javascript”>
digg_url=”<?php the_permalink() ?>“;
</script>
<script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”></script>
</div>
<p>
Viola! You are done now.
You can customize it yourself to suit your blog theme.
Popularity: 6%



