PC Optimizer PRO - Fix PC Errors, Optimize XP/Vista Performance Up To 300%
Spyware Doctor with AntiVirus - Easy Spyware Removal - FREE SCAN
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: 5%
Tags: blog, digg, digg-button, WordPress, WordPress Themes, wordpress-hack
March 24, 2008 | Filed Under WordPress Themes
Highly Recommended
Related Posts:
Important of Social Bookmarking
Top Sources of Internet Traffic
Get Indexed by Google
Favourite Web Resources
Free Google PageRank Button for your HomePage
Free Ways to Increase Your Blog or Web Traffic
Get Huge Traffic From StumbleUpon
How Often Should You Update Your Blog?
Free Google Page Rank Checker For Your Homepage
How do you get paid by blogging?
Comments
Leave a Reply











