WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for best option on Captcha. Plugin's don't seem to be the answer because this is a custom form for the theme I am using. Unfortunately, they don't offer any spam protection. The form is heavily styled so I do not want to start from scratch. I do have access to the contact form code and can plug one right in.

I can't imagine I am the only one with this issue. Doing a Google search hasn't been very insightful as well.

Is my best option to find a plugin or add custom code? if so - can I do some kind of Javascript only protection? I'd rather not integrate it with PHP unless I have to...

share|improve this question
Use a slider captcha, easy to integrate and stops bot spam. – Christine Cooper Mar 27 '13 at 18:39
up vote 4 down vote accepted

I'd say this question is mostly off-topic since it's not WordPress-specific. Mostly, because the majority of PHP solutions out there use sessions, which will not work out-of-the-box in WordPress.

Google search actually handles this question quite well. Have a look at this discussion for nice techniques.

Finally, Contact Form 7 has Captcha built-in.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.