fbpx
How can we help?

Google reCAPTCHA

The Google reCAPTCHA plugin is used to protect your site from hackers. It filters out spam entry during the event submission and registration process through codes.

Installing The Plugin

The installation process is the same for all the addons, offered by WP Event Manager. They can be both installed automatically and manually.

  1. Automatic Installation: You can install the plugin from the backend of your WordPress. Click Here to see how you can install the plugin automatically.
  2. Manual Installation: You can also install the plugin manually using SFTP or FTP tools. Click Here to see how you can install the plugin automatically.

Watch the entire video for better understanding

Registration for getting reCAPTCHA keys

In order to get Google reCaptcha on the Event submission form, you need to,

  1. Register on reCAPTCHA website to get reCAPTCHA keys.
    Wp Event Manager Google Recaptcha Form
  2. Enter the required details of your website.
  3. After the submission, you will get a reCaptcha site key and a secret key.
  4. Copy these keys.
  5. Go to the theme backend at WP-admin >> Event Manager >> Settings >> Google Recaptcha.
  6. Paste the keys in respective boxes.
    Wp Event Manager Recaptcha Key
  7. Save changes.

Now, you will get the reCAPTCHA code on the event submission form as you can see in below-mentioned screenshot:

Wp Event Manager Not A Robot

If any user does not insert the reCAPTCHA code, then it will ask for verifying the reCAPTCHA with the following message:
Wp Event Manager Human Check Failed

Customization: Overriding/Customizing The Template Files

For overriding or customization, template files can be found in the wp-event-manager-google-recaptcha/templates/ directory.

To override a template file, follow the below mentioned steps:

  1. Create the directory “wp-event-manager-google-recaptcha” under your theme folder.
  2. Copy the template file to “/wp-content/yourtheme/wp-event-manager-google-recaptcha/” directory.
  3. Your theme will use all the template files from the “/wp-content/yourtheme/wp-event-manager-google-recaptcha/” directory instead of the plugin’s template file. (/wp-content/plugins/wp-event-manager-google-recaptcha/).
  4. event-google-recaptcha.php template file lists the user’s alerts.

Remember: if you have overridden template file and plugin frequently updating then you need to sync template file with new updates from the plugin’s template file for better functionality and new features.

Quick Links
Close