ReCaptcha v2 for Contact Form 7

Beskrivning

Contact Form 7 v5.1 dropped support for reCaptcha v2 along with the [recaptcha] tag December 2018. This plugin brings that functionality back from Contact Form 7 5.0.5 and re-adds the [recaptcha] tag.

If this plugin is installed before updating Contact Form 7 from v5.0.5 to v5.1.1 then it will carry over your old API keys. At that point you will just need to head to this plugins settings page to tell the website to use reCaptcha v2.

Once installed and configured it should be the same reCaptcha functionality you are used to in previous versions of Contact Form 7.

IQComputing

Skärmdumpar

  • Settings page

Installation

Contact Form 7 is required to work with this plugin.

  1. Install this (ReCaptcha v2 for Contact Form 7) plugin
  2. Update Contact Form 7 to the latest version
  3. Re-add the reCaptcha version 2 API keys (if no keys are currently set). For more information you may read How to Generate Google reCAPTCHA v2 Keys by IQComputing and Contact Form 7 documentation
  4. Using the left-hand admin navigation in the Contact Form 7 subpages click ”reCaptcha Version” (Contact -> reCaptcha Version)
  5. Once on the ”ReCaptcha v2 for Contact Form 7” settings page, select from the select list ”reCaptcha Version 2” and click ”save”

Once the version 2 API keys are set, the version 2 has been selected in the plugin settings, all [recaptcha] tags will be replaced with the expected Google reCaptcha on all forms.

Vanliga frågor

Will this plugin work with Version 3 keys?

No and yes. Google reCaptcha has specific keys for each API. If you are doing an upgrade from a previous version of Contact Form 7 to the current version you will need to re-add the Version 2 API keys using the traditional method. That being said you can set the plugin usage to default and it will use the inherit Contact Form 7 reCaptcha Version 3 API.

Where do I add my Version 2 keys?

Under Contact -> Integration you can see a ”reCAPTCHA” service box where you may either ”Setup Integration” following instructions from the Contact Form 7 documentation. If you already have keys set you will need to click the ”Remove Keys” button and re-add them following the Contact Form 7 documentation.

I’ve added the Version 2 keys but nothing has changed

If you have added the Version 2 keys and you still do not see the reCaptcha show up on your forms please check the following:

  1. In WordPress admin, under Contact -> reCaptcha Version please ensure that you have ”reCaptcha Version 2” selected and saved.
  2. On your contact forms please ensure that you have the [recaptcha] tag somewhere in the form.

Should the above be correct, at this point it’s time to open a support thread for us to look into the issue further.

Recensioner

12 september, 2019
Thank you for this great plugin. Works great. I only needed to exclude pages with Contact Form 7 from caching - before doing that captcha didn't show up and the comment couldn't be sent (I'm using WP Fastest Cache premium version).
26 augusti, 2019
Thank you for this plugin! I have been struggling with Contact Form 7 for the past few weeks where no mails could be sent via my contact form when I integrated Recaptcha V3. I followed all the instructions in Contact Form 7 FQA to ensure Recaptcha V3 was configured properly but still all my mails were detected as spam and could not be sent. But your plugin simply solved that issue!
6 augusti, 2019
This plugin brings back recaptcha v2 with minimal effort. 1 click or 2. No need to touch [recaptcha] tags in the existing contact forms. Support seems efficient too.
30 juli, 2019
after days of figuring out how contact form 7 doesnt work with v2 recaptcha, finally accomplished with this awesome plugin, thank you.
28 maj, 2019
Thank you for saving Contact Form 7 for me and the sites I use it on. Plugin does what it says it will do!
Läs alla 44 betyg

Bidragsgivare och utvecklare

”ReCaptcha v2 for Contact Form 7” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”ReCaptcha v2 for Contact Form 7” har översatts till 9 språk. Tack till översättarna för deras bidrag.

Översätt ”ReCaptcha v2 for Contact Form 7” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.2.2 (2019-09-17)

  • Fixed translation function to include plugin slug. Thanks @alexclassroom !

1.2.1 (2019-09-09)

  • Updated the plugin name to fix Trademark infringement.

1.2.0 (2019-06-13)

  • Removed jQuery dependecy.
  • Converted jQuery reCaptcha submission check to vanilla JavaScript.
  • Updated reCaptcha noscript to account for A3 Lazy Load Plugin.