This setting is optional! Please note that all theme forms are already secured by default with WordPress Nonces.
Nonces are used to protect the forms from malicious attacks, ensuring that the forms are submitted by legitimate users and not by bots or unauthorized sources. WordPress automatically adds nonce security to the theme’s forms, providing an additional layer of protection. However, if you wish to further customize or configure nonce settings, this can be done within the theme or plugin development. Click here to read more on WordPress Nonces
To set up reCaptcha for your login and registration forms, follow these steps:
- Navigate to Theme Options > Advanced > reCaptcha Settings.
- Enable reCaptcha for Login and Register Forms: Set this to YES if you want reCaptcha to appear on the register form.
Set reCaptcha API Keys
- You will need to generate your reCaptcha API keys from https://www.google.com/recaptcha/admin/create
- Choose the version of reCaptcha you want to use (v2)
- Enter the Site Key and Secret Key provided by Google in the respective fields in your theme’s reCaptcha settings.
If you get this error
1.Recaptcha: ERROR for site owner: Invalid domain for site key
Make sure the site url is valid, according to Google Standards (and as in the screenshot above)
A valid domain requires a host and must not include any protocol, path, port, query or fragment.
2. I am not Robot
In PHP.ini the setting allow_url_fopen may be set to OFF. Setting it to ON should solve this.