plugin-icon

Contact Form 7 Captcha

作者:Costel Tudose·
Add reCAPTCHA V2, hCAPTCHA or Cloudflare Turnstile CAPTCHA to Contact Form 7
评级
4.1/5
版本
0.1.6
活跃安装
100K
最后更新
Jun 4, 2025
Contact Form 7 Captcha

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.

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.8.3
这个插件是可用的下载,适用于您的站点。