Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

WordPress Zero Spam

Zero Spam makes blocking spam comments a cinch. Install, activate and enjoy a spam-free site. Even supports third-party plugins!

Why should your users prove that they're humans by filling out captchas? Let bots prove they're not bots with the WordPress Zero Spam plugin.

WordPress Zero Spam blocks registration spam and spam in comments automatically without any additional config or setup. Just install, activate, and enjoy a spam-free site.

Zero Spam was initially built based on the work by David Walsh.

Major features in WordPress Zero Spam include:

  • No captcha, spam isn't a users' problem
  • No moderation queues, spam isn't a administrators' problem
  • Blocks 99.9% of spam registrations & comments
  • Supports caching plugins to help provide great performance
  • Blocks spammy IPs from ever seeing your site
  • Extend the plugin with action hooks
  • Theme & plugin integration for any form on your site
  • Optional logging, so you can see who's trying to spam
  • Advanced settings for complete control

Supported Plugins

  • Contact Form 7
  • Gravity Form
  • Ninja Forms
  • BuddyPress
  • WPForms

Note: This plugin does not work with Jetpack Comments. For more information, see https://wordpress.org/support/topic/incompatible-with-jetpack-comments.

Languages: English

If you have suggestions for a new add-on, feel free to email me at me@benmarshall.me. Want regular updates? Follow me on Twitter or visit my blog.

Author Ben Marshall
Profile
Contributors bmarshall511, afragen, tangrufus, leewillis77, macbookandrew, jaredatch, karpstrucking, thiagolcks, geekstreetwp
Tags anti-spam, antispam, comment spam, comments, registration spam, spam, spam blocker, Spam Free, spambot, spammer

Plugin Installation

  1. Upload the zero-spam folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

Theme Integration

You can integrate WordPress Zero Spam with any theme or plugin. Just add the class zerospam to a form element and the following at the beginning of your validation function:

<?php
if ( zerospam_is_valid() ) {
  // Valid form submission.
} else {
  // Invalid form submission.
  zerospam_log_spam( 'My Custom Form', 'http://www.myurl.com/custom-form' );
}

For more information and a full list of helpers you can use if your theme or plugin, see the helpers.php file.

v3.0.6 (December 27, 2016)

v3.0.5 (December 23, 2016)

  • [bug] Gravity Forms submission fix.

v3.0.4 (November 24, 2016)

  • [bug] Fixed IP location lookup issue.
  • [improvement] Updated the Grunt development tasks.

v3.0.3 (November 23, 2016)

3.0.2

  • Fixed fatal error.

3.0.1

  • Added the default options when the plugin is activated.

3.0.0

  • Lots of updates & fixes! Improved code documentation to help promote contributions.

2.2.1

2.2.0

2.1.2

2.1.1

  • Minor updates

2.1.0

2.0.2

2.0.1

2.0.0

1.6.0

  • Made minor modification on how spam comments are detected. Tested & verified working as expected.
  • Changed how Gravity Forms spam is detected. Needs to be tested & verified.

1.5.4

1.5.3

1.5.2

1.5.1

1.5.0

1.4.0

  • Added zero_spam_found_spam_comment and zero_spam_found_spam_registration action hooks (thanks @tangrufus)
  • Minor updates to the readme file

1.3.1 - 1.3.3

  • Minor fixes to WP SVN repo

1.3.0

  • Removed Grunt creation of the trunk directory
  • Added spam detection script to registration form

1.2.1

  • Fixed some typos in the readme.txt file

1.2.0

  • Removed testing for core function testing
  • Fix for adding comments from admin (thanks @afragen)
  • Removed unneeded WP svn trunk and tags folders from the git repo (thanks @afragen)

1.1.0

  • Updated theme documentation.
  • WordPress generator meta tag removed to help hide WordPress sites from spambots.

1.0.0

  • Initial release.

Is JavaScript required for this plugin to work?

Yes, that's what does the magic and keeps spam bots out.

I keep getting 'There was a problem processing your comment.'

Be sure JavaScript is enabled and there are no JS errors.

Can I extend the plugin with action hooks?

Yes, see below:

  • zero_spam_found_spam_registration - Runs after a spam registration is detected
  • zero_spam_found_spam_comment - Runs after a spam comment is detected
  • zero_spam_found_spam_cf7_form_submission - Runs after a spam Contact Form 7 form submission is detected
  • zero_spam_found_spam_gf_form_submission - Runs after a spam Gravity Form submission is detected
  • zero_spam_ip_blocked - Runs after a blocked IP attempts to visit the site
  • zero_spam_found_spam_buddypress_registration - Runs when a BuddyPress spam registration is detected
  • zero_spam_found_spam_nf_form_submission - Runs when a spam Ninja Forms submission is detected
  • zero_spam_found_spam_wpf_form_submission - Runs when a spam WPForms submission is detected

Does this plugin support Contact Form 7 forms?

Yes! Thanks to @leewillis77.

Does this plugin support Gravity Forms forms?

Yes! Thanks to @shazahm1.

Does this plugin support BuddyPress?

Yes!

Does this plugin support NinjaForms?

Yes!

Does this plugin support WPForms?

Yes! Thanks to @jaredatch.

Does this plugin work with caching plugins like W3 Total Cache?

Yes! Thanks to @shazahm1.

Does this plugin work with multisite?

Yes! Thanks to @afragen. When using with multisite the plugin may be network activated or used individual sub sites.

Can I blacklist spammy IPs to CloudFlare?

Yes! Install Sunny and follow this guide.

Share  
Download
Version 3.0.6

Requires WordPress version: 3.0.0 or higher

Compatible up to: 4.6.3

Last Updated 27 Dec 2016

Date Added: 21 Jul 2014

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

4.8 stars
64 ratings
86,676 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0