[WordPress] 外掛分享: Contact Form 7 Captcha

WordPress 外掛 Contact Form 7 Captcha 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Contact Form 7 Captcha」是 2015-02-19 上架。
  • 目前有 100000 個安裝啟用數。
  • 上一次更新是 2025-02-28,距離現在已有 66 天。
  • 外掛最低要求 WordPress 4.1.2 以上版本才可以安裝。
  • 有 45 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

247wd |

外掛標籤

captcha | hcaptcha | recaptcha | contact form 7 | Cloudflare turnstile |

內容簡介

使用這個外掛,您需要透過 Google 網站註冊 API 金鑰:https://www.google.com/recaptcha/admin
此外掛實現了「我不是機器人」複選框。在生成金鑰時,請選擇 reCAPTCHA v2 -> 複選框
將 Google CAPTCHA 添加到 Contact Form 7 表單中。
防止 Contact Form 7 表單被垃圾郵件和濫用所侵害。
可用於同一頁面上的多個表單保護。
經過 Contact Form 7 5.6 版本和 WordPress 6.0 版本的測試
從設置 => CF7 Simple Recaptcha 進行插件配置。
在配置完成後,在任何 Contact Form 7 表單中添加 [cf7sr-simple-recaptcha]。
在設置頁面中添加 CSRF 檢查和轉義屬性。
修復了舊瀏覽器中潛在的跨網站腳本問題。

原文外掛簡介

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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Contact Form 7 Captcha」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.0.2 | 0.0.3 | 0.0.4 | 0.0.5 | 0.0.6 | 0.0.7 | 0.0.8 | 0.0.9 | 0.1.0 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.1.5 | 0.1.6 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon