fbpx

How can we help?

Google reCAPTCHA

In order to prevent spam, one can use Google reCAPTCHA as it is a very good option. It is free and pertinent while submission.

Installation

You can install Google reCaptcha plugin using 2 different ways:

  1. Automatic Installation: You can install a plugin from the backend of your WordPress. Click Here to see how you can do the automatic installation.
  2. Manual Installation: You can install the plugin manually using SFTP or FTP tool as well. Click Here to see how you can do a manual installation.

Watch this video for more clarification.

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 details of your website asked for.
  3. After the submission you will get a reCaptcha site key and a secret key.
  4. Copy these keys.
  5. Go to 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 reCAPTCHA on the event submission form as you can see in below screenshot:

WP event manager not a robot

If any user will not insert the reCAPTCHA, then it will ask for verifying the reCAPTCHA with this 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,

  1. Create 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/).
  • 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.

Was this article helpful?
How can we improve this article?
Quick Links