DIGG has released a “smart” version of it’s classic DIGG Button.
This new version will not only allow your site’s visitors to “DIGG This” right from your article, it also shows how many times your site has (or has not) been DUGG.
According to DIGG:
We’ve given our latest Digg This button a brain – it’s smart enough to:
- Encourage users to submit new content from your site to Digg. We’ll detect if the content exists already and provide either a Submit or Digging interface
- Display the real-time Digg count for content already on Digg
- Support News, Video, or Podcast content.
- Be backward compatible with the last version of our Digg This button
To implement this in your WordPress Blog you’ll need to add this line to your “Single Post” template (I’ve added some inline styles to an optional DIV to pretty it up a little bit):
<div style="float: left; padding-right: 4px; ">
That won’t work in your Main Index Template, however. You’ll need to tell the diggthis.js what the permalink to the article is, like so (again, DIV and styling are optional):
digg_url = '<?php the_permalink() ?>';
The embarrassing part of this is your un-DUGG or little-DUGG articles will show your visitors just how few DIGGs you have. :: blush ::