Contact form for WordPress with reCaptcha
There are many contact forms for WordPress websites: from the scratch-developed simple solutions to the advanced plugins with the form constructors, for example, Contact Form 7. Having the great popularity, Contact Form 7 plugin has the open question about its safety and security … google it, plz!
So when we had the task of contact form integrating in the custom WordPress theme, our selection criteria were very simple:
- maximum simplicity of plug-functionality (nothing waste);
- reCaptcha support to prevent spam;
- easy adaptation of the plugin to our needs.
As the result, our choice has stopped on “AntiRobot Contact Form” – https://wordpress.org/plugins/antirobot-contact-form/
We have customized plugin according to the client needs:
- added a field to specify the telephone number in the contact form;
- added the URL into email of the page from which this message was sent. Email is arriving on the website administrator email box;
- added Russian language using .po- and .mo-files (Poedit software was used);
- added styles were added to provide the mobile adaptability of the form.
Contact form could be added via short code
acording to the plugin instructions. In our case the theme required the following code implementation:Modified plugin can be downloaded here