I have looked around the interwebs to find the easiest way to add a digg button with the sumbit feature to wordpress, but I could only find plugins, or other methods that seemed to complicated.
So here is the most simple solution for adding digg to you blog. The following is code from the digg website;
<script type=”text/javascript”>
digg_url = ‘WEBSITE_URL’;
</script>
<script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”></script>
All you need to do is replace ‘WEBSITE_URL’ with ‘<?php the_permalink() ?>’ and place the code within the LOOP. (I put mine in the Main Index Template after the comments - you can edit this via wordpress in the theme editor.)
To show the Digg button when viewing a single post, you must also add it to the ‘Single Post’ template (also under theme editor). I placed this second set of code after the ‘tags’ and before the ‘postmetadata’.
Its as simple as that. For additional options you can add the following;
digg_bgcolor = ‘#ff9900′; (Background Colour)
digg_skin = ‘compact’; (Smaller Button)
digg_window = ‘new’; (Open in New Window)
source: blogger-off
Related Stuff
ColdBlue Blogger TemplateFor those of you who love the simplicity of our popular ColdBlue Wordpress theme, but use Blogger as your blogging platform…you can ...
Blogging Tips on What You Should Do or Not DoAre you looking for effective blogging tips? You’ve come to the right place. It’s true that any individual can upload or open a ...
Best practice for adding JavaScript code to WordPress pluginsThis article is intended as a guide on how to add JavaScript code to your plugins. Here is a practical example from WP Wall ...
10 Plugins to Test Drive WordPress 2.7 Right NowWordPress 2.7 is round the corner and if you want to test drive it you can grab a copy of beta versions (please dont use them for ...
Referrer Detector WordPress PluginMany bloggers and website owners like to greet visitors coming from specific websites with a tailored message. There are many plugins that ...

