Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Conditional Digg This Badge

This plugin checks how many Diggs an article has, and shows a "Digg This" badge if it already has 10 Diggs.

How do I customize the number of Diggs it takes to be considered "popular?"

In future versions, this will be added as an option to the plug-in in your dashboard. In the meantime, you can manually change this value in the "check-digg-stats.php" page.

Look for the declaration of $minDiggs. It should be set to 10. Change '10' to whatever value you want to use as a benchmark.

Do I have to link to prototype.js again if I'm already using it?

No. As long as you have a site-wide link in to the external javascript file prototype.js, you can comment out the line in the plug-in that adds a reference to it.

Open "wp-digg-conditional.php". Scroll down to about line 37. Comment out the line that creates a javascript element with src "$root . '/wp-content/plugins/wp-digg-conditional/prototype.js".

Can I see it in action, please?

Sure. This article on PHP image functions has enough Diggs to get a badge.

How can I get an answer to a new question?

If you have a problem, question, or feature request, you can send them my way and I'll deal with them when I have the time.

The easiest way would be to go to the plug-in homepage and leave a comment.

Requires: 2.3.3 or higher
Compatible up to: 2.3.3
Last Updated: 9 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.