Description
Protect your Contact Form 7 forms with Google CAPTCHA V2, hCAPTCHA or Cloudflare Turnstile CAPTCHA
Easy integration and supports multiple forms on a single page.
Google reCAPTCHA V2
Use https://www.google.com/recaptcha/admin to generate Site key and Secret key.
When generating keys, choose Challenge (v2) -> «I’m not a robot» Checkbox
Update Site key and Secret key from Settings => Contact Form 7 Captcha => Google reCAPTCHA
To add reCAPTCHA V2 protection, insert [cf7sr-recaptcha] shortcode above the submit button in your Contact Form 7 form.
Default size of reCaptcha is normal, for compact size use shortcode: [cf7sr-recaptcha size=»compact»]
Default color theme of reCaptcha is light, for dark theme use shortcode: [cf7sr-recaptcha theme=»dark»]
Default type of reCaptcha is image, for audio type use shortcode: [cf7sr-recaptcha type=»audio»]
You can combine multiple attributes, sample shortcode: [cf7sr-recaptcha size=»compact» theme=»dark»]
You can also force reCaptcha to render in a specific language.
hCAPTCHA
Use https://dashboard.hcaptcha.com/signup to generate Site key and Secret key.
Update Site key and Secret key from Settings => Contact Form 7 Captcha => hCAPTCHA
To add hCAPTCHA protection, insert [cf7sr-hcaptcha] shortcode above the submit button in your Contact Form 7 form.
Default size of hCAPTCHA is normal, for compact size use shortcode: [cf7sr-hcaptcha size=»compact»]
Default color theme of hCAPTCHA is light, for dark theme use shortcode: [cf7sr-hcaptcha theme=»dark»]
You can combine multiple attributes, sample shortcode: [cf7sr-hcaptcha size=»compact» theme=»dark»]
You can also force hCAPTCHA to render in a specific language.
Cloudflare Turnstile CAPTCHA
Use https://www.cloudflare.com/en-gb/products/turnstile/ to generate Site key and Secret key.
Update Site key and Secret key from Settings => Contact Form 7 Captcha => Cloudflare Turnstile Captcha
To add Cloudflare Turnstile CAPTCHA protection, insert [cf7sr-turnstile] shortcode above the submit button in your Contact Form 7 form.
Default size of CAPTCHA is normal, for compact size use shortcode: [cf7sr-turnstile size=»compact»]
Default color theme of CAPTCHA is auto, for light or dark theme use shortcode: [cf7sr-turnstile theme=»light»] or [cf7sr-turnstile theme=»dark»]
You can combine multiple attributes, sample shortcode: [cf7sr-turnstile size=»compact» theme=»dark»]
You can also force CAPTCHA to render in a specific language.
Installation
- Upload the entire contents of the zip file to your plugin directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure plugin from Settings => Contact Form 7 Captcha
Reviews
Contributors & Developers
“Contact Form 7 Captcha” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Contact Form 7 Captcha” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.