Adding reCaptcha To A Custom Contact Form Page On WordPress

Image credit: Madison Magazine
At first I thought this was going to be easy, just install the WordPress reCaptcha plugin and add a couple of lines to the form and that should do it. Once I was ready to go and actually do it, I could not find any info on teh web on how to do this, so after two hours of research and trial and error I found the answer. I hope this will help someone out there.
I am building a custom contact page with a PHP contact form on it. I need the reCaptcha to sit at the bottom of the form and keep Spammers out.
First we needed to go and register an account at reCaptcha.net and get the public and private key for the domain the reCaptcha is going on. Then download the reCaptcha library PHP file that will be including in the form processing code.
Read more







