SpamCount

Plugin Banner

SpamCount

by Simon Prosser

Download
Description

Heres a tiny plugin that will show the total number of spams caught by askismet since your very first post. You can include it anywhere in your template.

Un-Installation

  • go to the Plugins main menu and find SpamCount, then click Deactivate
  • delete the files from your wp-content/plugins directory
  1. upload the contents of the zip file to your wp-content/plugins directory
  2. go to the Plugins main menu and find SpamCount, then click Activate

Usage:

if (function_exists(spamcount)) { spamcount(); }

Default output will look like:

10253 Spams caught since Jun 2006

To show just the number use:

if (function_exists(spamcount)) { spamcount(number); }

And to have custom text use:

if (function_exists(spamcount)) { spamcount($text = ‘somecustomtext’); }

Which would show as:

10253 somecustomtext Jun 2006

0.3

  • tested and working 100% wordpress 3.0

0.2

  • Added some switches
  • Added error checking

0.1

  • First release
Back to top