WP Rentals Help WP Rentals Help

  • Client Support
  • Video Tutorials
  • WpRentals
  • WpEstate
  • API
Home / WP Rentals Theme Options / Theme options – reCaptcha settings

Theme options – reCaptcha settings

9324 views

You can enable Google reCaptcha v2 for the user registration form to help prevent spam or bot registrations.

Note: All theme forms are already protected by WordPress security measures (nonces), so reCaptcha is optional. But enabling it provides extra anti-spam protection.

Enable this option to show a “I’m not a robot” checkbox on the user registration from Theme Options – Register & Login Settings – reCaptcha settings.

If enabled – the register form looks like this:

recaptcha

To use reCaptcha, you need to generate a Site Key and Secret Key from Google:

  • Go to: https://www.google.com/recaptcha/admin/create
  • Choose reCaptcha v2
  • Add your domain name (e.g., example.com)
  • Submit the form
  • Copy the credentials
  • Site Key → Paste into the “reCaptcha Site Key” field in Theme Options
  • Secret Key → Paste into the “reCaptcha Secret Key” field in Theme Options

If you get this error

Error: “Invalid domain for site key”

  • Double-check that your domain is entered correctly in Google reCaptcha (e.g., no https://, no paths or ports).
  • Example of a valid domain: yourwebsite.com

A valid domain requires a host and must not include any protocol, path, port, query or fragment.

2.” I am not a robot” not working

  • Check your server’s php.ini file
  • Make sure this is set allow_url_fopen = On
    This setting is required for the reCaptcha system to verify responses.
WP Rentals Theme Options

Related Articles

  • Theme Options -> General -> Orphan Listings
  • Theme Options -> Payment Currency Settings
  • Enabling Multi-Selection for Property Categories | Taxonomies in the Search Form
  • Booking: How to work with Deposit Fee and Service Fee

HELP CATEGORIES

  • 61. General
  • 102. Installation & Basic Setup
  • 93. Installation FAQ
  • 404. How Booking Works
  • 145. User dashboard pages
  • 20Advanced Search Options
  • 3Blog Post
  • 9Custom Page Templates
  • 18Elementor Compatibility
  • 13Email Notifications
  • 19FAQ
  • 10Menu Options
  • 26Multi-Languages - 3rd party
  • 9Owner
  • 25Property / Listing
  • 21Shortcodes
  • 11Submit Form
  • 4Supported Maps
  • 93Technical how to
  • 5Third Party plugins
  • 3Translation
  • 13Widgets
  • 2WooCommerce Payments
  • 13WP Rentals Payment
  • 77WP Rentals Theme Options

Join Us On

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