- 22
- Jan

Digg That is an improved, more secure version of Digg This. It fixes a number of security holes and bugs, while adding additional functionality and stability.
If you’d like to first read a little background information on Digg That, please check out this post: Digg This Blog Security Vulnerabilities Found.
First of all, download the plugin source code here and place it in your wp-content/plugins/ directory. Then go to your control panel and activate it. Be sure if you’re running the unpatched “Digg This”, you deactivate that plugin completely. This version is an upgraded replacement.
Then modify your template files to add this line:
<?php digg_that(); ?>
on the index.php page right before the <?php endwhile; ?> line, and on the single.php page right before the <p class=”meta”> line.
Here are some additional options you can use with that hook
digg_that($begin, $end, $show_post2digg, $support);
The digg_that() function has four optional parameters:
$begin - Any HTML content to place before the Digg button, such as a div opening tag.
$end - Any HTML content to place after the Digg button, such as the </div> tag that $begin started.
$show_post2digg - A boolean option for showing a 32×32px Submit to Digg icon and link when a post isn’t dugg already. Notice it on my blog.
$support - A boolean option for showing a link back to Digg That’s homepage under your Digg button. It doesn’t show on undugg posts, but only the few ones that have a Digg article about them.
So for example, if you wanted to wrap your button in a CSS-enhanced DIV to only show on posts that are already dugg, but not show the little gray man if it’s not dugg (for example, if you have your own social bookmarking icons already on your site), it’d look like this:
<?php digg_that(”<div class=’diggblock’>”,”</div>”,false); ?>
And if you missed the link earlier to download the plugin source code, it’s here. ![]()





















January 22nd, 2007 at 9:17 pm
[...] Digg That [...]
January 22nd, 2007 at 9:42 pm
[...] Harry Maugans » Digg That Filed under: wordpress | [...]
January 22nd, 2007 at 10:08 pm
[...] The upgrade/patched version is here: http://www.harrymaugans.com/digg-that/ [...]
April 19th, 2007 at 11:22 am
[...] Digg That Secure version of Aviran Mordo’s popular “Digg This” plugin (aviransplace.com). [...]
May 20th, 2007 at 3:57 am
[...] Visit [...]
May 20th, 2007 at 2:12 pm
[...] had worked for me until now : not “Digg This“, nor “Digg That“, nor The Digg for WP plug-in, nor even the official Digg [...]
July 2nd, 2007 at 7:51 am
[...] This (and That) It puts “Digg this” links on each post, and displays a real “Digg this” [...]
July 22nd, 2007 at 1:55 am
[...] Digg That [...]