WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Theme Options & Global Settings / Theme Options – Advanced Settings – reCaptcha settings

Theme Options – Advanced Settings – reCaptcha settings

5872 views 0

reCaptcha is optional. All theme forms are already protected by WordPress nonces. Turn reCaptcha on if bots still send registrations or contact messages.

From version 5.8.0 the settings are in Theme Options → Advanced Settings → reCaptcha Settings. In earlier versions they are in Theme Options → Header → Register reCaptcha Settings, which has the register form option only.

1. Create the reCaptcha keys

  1. Open the Google reCaptcha admin.
  2. Choose reCaptcha v2, “I’m not a robot” Checkbox.
  3. Add your site domain. Write the host only, for example example.com: no https://, path or port.
  4. Copy the Site Key and the Secret Key.

Google reCaptcha admin: register a new site with reCaptcha v2

Google reCaptcha admin: site key and secret key

2. Turn reCaptcha on

  1. Go to Theme Options → Advanced Settings → reCaptcha Settings.
  2. Paste the keys in reCaptha site key and reCaptha secret key.
  3. Set Add reCaptcha to register form? to yes to protect the register form.
  4. Set Add reCaptcha to contact forms? to yes to protect the contact forms.
  5. Click Save Changes.

Both options use the same keys.

Theme Options, Advanced Settings, reCaptcha Settings with Add reCaptcha to contact forms

Forms that show reCaptcha

Option Forms
Add reCaptcha to register form? Register form
Add reCaptcha to contact forms? Agent, agency and developer page contact forms
Property page contact form and Schedule a tour form
Footer contact form
Contact form shortcode
Contact Form Builder for Elementor

The visitor ticks I’m not a robot before Send. If the box is not ticked, the form shows “Please confirm you are not a robot.” and nothing is sent.

Agent contact form with the reCaptcha box above Send

Contact Form 7 forms keep their own reCaptcha setup. See Contact Form 7 Integration.

Troubleshooting

Message Fix
ERROR for site owner: Invalid domain for site key, or “… is not in the list of supported domains for this site key” In the Google reCaptcha admin, open the key, go to Settings → Domains and add the site domain (host only).
Wrong captcha The tick expires after about 2 minutes. Tick the box again and send. If it keeps failing, check that the site key and the secret key come from the same Google key. The theme also needs allow_url_fopen set to On in PHP.ini to check the answer with Google.
Theme Options & Global Settings

Related Articles

  • Confirm Account via Email
  • How to Control Similar Blog Posts
  • ACF – Advanced Custom Fields – Integration with WPResidence
  • Theme Options – Roles (Editor) Permissions Controls
MLSImportWordPress IDX Plugin for MLS ListingsImport MLS listings into your WordPress website, customize your property pages, and keep your inventory updated.Start free 30-day trial →

Help Categories

  • 111 Installation & Changelog
  • 19Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 14Footer
  • 38Header
  • 2IDX & MLSImport
  • 23Maps & Location Settings
  • 50Multilingual Websites – WPEstate Translate (Included)
  • 21Pages & Page Templates
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 38Property Single Page
  • 32Search & Filtering
  • 170Technical how to | Custom Code
  • 9Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Theme Translation & Localization
  • 28Third Party Plugins Compatible
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 9WPResidence Elementor Studio
  • 39WPResidence Elementor Widgets
  • 79WPResidence FAQ

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API