Posted on April 30, 2008
Creating a Digg This button is very easy. Here's a non-plugin approach:
<script type="text/javascript">
digg_url = '< ?php the_permalink() ?>';
digg_title = '< ?php the_title() ?>';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Copy and paste above script to anywhere between your WordPress' theloop:
digg_url = 'http://thecodecentral.com/2008/04/30/creating-a-digg-this-button-for-your-wordpress-blog';
digg_title = 'Creating a Digg This Button for Your WordPress Blog';
Instead post specific Digg button, you can create [...]