If you want to output just the number of spam messages Akismet has caught, add the following line of code to your template in the place you want it displayed:
This will output a plain number. Example: 34,875,935.
If you want to output a phrase instead of just the number, add the following line of code to your template in the place you want it displayed:
This will output the phrase. Example: Akismet has protected cavemonkey50.com from 636 spam comments. The final output will have cavemonkey50.com replaced with the name of your blog.
1.1 – Fixes a bug where if you didn’t have any spam the plugin would report Akismet isn’t installed.
1.0 – Initial Release
Copyright (c) 2005 Ronald Heft, Jr. (firstname.lastname@example.org)
Released under the terms of the GPL
Drop the akismet_count.php file into /wp-content/plugins/, and activate the plugin.
Contributors & Developers
“Akismet Spam Count” is open source software. The following people have contributed to this plugin.