Contact Form 7 Captcha

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

  1. Upload the entire contents of the zip file to your plugin directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure plugin from Settings => Contact Form 7 Captcha

Reviews

Agosta 3, 2024 2 replies
After making the Cloudflare settings, I press the save button and I encounter a warning that says you do not have permission to access this page.
Otoba 4, 2024 3 replies
Worst plugin to work with, no support provided, doesn’t block the bots, invalid error message does not go even on successfully checking the captcha checkbox.
Maris 22, 2024 2 replies
Just take a look at the Support forum for the plugin. A ton of support requests over the years going unanswered. It might not matter that much had the author constantly update his plugin to stay on top of issues. But the frequency of updates leaves much to be desired, I guess…..
Maris 21, 2023
Just as I needed, very easy to integrate with Google thanks to this plugin
Read all 43 reviews

Contributors & Developers

“Contact Form 7 Captcha” is open source software. The following people have contributed to this plugin.

Contributors