How I got that pretty Digg It Button
See the Digg It! button I’ve added at the right top of each post? And how it neatly takes you to a page where the URL’s already filled out and you have just a couple of steps to complete? Here’s how I did it.
First, I tried the script from Brandon Hopkins, and that just didn’t do anything. Not sure if it’s a WP version issue, or what, but I tested on two sites and had no joy. Then I found slightly different javascript from Bill2Me. Then I combined Brandon’s styling with the code from Bill2Me, and got this:
<div style=”float: right; margin-left: 15px; margin-bottom: 2px;”><script type=”text/javascript”>Â Â Â digg_url = ‘<?php the_permalink() ?>’; </script><script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”> </script></div>
Look at Brandon’s post to see where to put the code. Every template can vary a little, but that should get you started. Post a comment if you have questions!

Brandon Hopkins Said,
March 26, 2007 @ 7:04 pm
Glad you got it working!
bill2me Said,
March 26, 2007 @ 7:41 pm
Hey Chilly glad you got it working!
The button really makes a great addition to any blog – it’s like a badge of honor for all your best posts. Giving everyone a quick way to promote your content is also a great bonus.
Anyway, thanks for stopping by my site and I’m glad you came away with something positive!
Chilly Said,
April 5, 2007 @ 3:05 pm
Thanks to both of you guys!