Plugin Information

Current version
Download URL
Min WP version
Min PHP version
Min MySQL version

ZigTrap adds a hidden field to your comments form, which humans will leave empty because they don’t know it’s there. Spam bots, however, will normally enter some content in it, and this springs the trap, causing WordPress to show a message and not save the comment at all.

This is known as the “honey trap” or “honey pot” technique of spam prevention. Use this plugin in conjunction with Akismet for a pretty solid spam prevention package. I use it in place of a CAPTCHA test, (CAPTCHAs are a usability disaster and universally hated).

Please ensure that the comments form in your theme calls the ‘comment_form’ action.

As with all ZigPress plugins, this plugin is fully compatible with ClassicPress.


  1. I just happened upon your ZigTrap WordPress plugin. I’ve installed it but have yet to activate it as the website is new, even though it has been in use by different owners since (as best I can tell) the late 90s.

    I’m not writing you to talk about my site though. I wanted to sincerely thank you for what looks like an incredible anti-spam plugin. I imagine that using it in conjunction with Akismet will allow me to make the comments section of my site more accessible to my users.

    I’m fairly certain of the answer to this question already but let me ask anyway. Do you know, or could you tell me how much of a load ZigTrap puts on the server? My guess is that it’s minimal but thought I’d ask anyway.

    Once again, thanks for a great tool and as soon as I, hopefully, make some money I’ll be making a donation to your site. I believe in paying (though you don’t charge) for useful tools and yours looks like it will be very useful.

    If you have any interest in checking out my site I’d like to say you’ve got an open invitation.


    P.S. Sorry for the long post.

  2. Hi,

    I’m running WP 3.1 and get the error below when trying to activate the plug in:

    “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/d/o/u/xxxxx/html/wordpress/wp-content/plugins/zigtrap/zigtrap.php on line 40”

    Not sure why this is, this looks like a great plugin which I would like to get working.



  3. Looks like your server is running PHP4. ZigTrap requires PHP5, as do all ZigPress plugins. PHP4 is dead.

  4. Andy, Thanks that fixed it.

  5. Excellent work and a simple but very effective trick, stops lots of spam and the the captcha gets the rest.

  6. Where can you view the spam it catches? I can’t seem to find it

  7. Go to the admin Dashbaord page and look at the bottom of the “Right Now” box.

  8. …this is a really cool application. It’s been a couple of weeks that I installed ZigTrap, and… works as advertised. Good job, you guys at ZigPress….I am totally impressed….!!!

  9. Works! Thank you – I was looking for something like this for weeks to help on a site being deluged by comment spam. Since I installed it about 10 days ago it has picked up about 80% of spam comments.

    (Working on WP 3.5 alongside Woocommerce.)

  10. Excellent work and a simple but very effective trick, stops lots of spam and the the captcha gets the rest.

  11. Thank you so much. Nice plugin..

Add a Comment

If you have used this form and would like a copy of the information held about you on this website, or would like the information deleted, please email [email protected].