Plugin / Google Captcha (reCAPTCHA) by BestWebSoft

BestWebSoft

Frequently Asked Questions (FAQ)

Follow the next steps in order to get and enable Google Captcha (reCAPTCHA) protection using the official Google Captcha keys: 1. Open your WordPress admin dashboard. 2. Navigate to the plugin Settings page. 3. Click the “Get the API Keys” link. 4. Enter your domain name and click “Create Key” button. 5. You will see your public and private keys. Copy them and paste to the appropriate fields on plugin Settings page. 6. Save changes.
You should go to the Settings page and select the roles, for which you want to hide Google Captcha. Then you must click “Save Changes” button.
Follow the next steps in order to change the appearance of the Google Captcha: 1. Open your WordPress admin dashboard. 2. Navigate to the plugin Settings page. 3. Select reCAPTCHA version. 4. Find the “Theme” option (only available for versions 1 and 2) and select the necessary style from the drop-down list. 5. Save changes and check the result.
You might have a theme where “comments.php” is coded incorrectly. WordPress version matters. (WP2 series): Make sure that you theme contains a tag ID); ?> inside the file /wp-content/themes/[your_theme]/comments.php. Most WP2 themes already have it. The best place to put this tag is before the comment text area, you can move it up if it is below the comment text area. (WP3 series): WP3 has a new function comment_form inside of /wp-includes/comment-template.php. Your theme is probably not up-to-date to call that function from “comments.php”. WP3 theme does not need the code line do_action(‘comment_form’… inside of /wp-content/themes/[your_theme]/comments.php. Instead it uses a new function call inside of “comments.php”: If you have WP3 and captcha is still missing, make sure your theme has inside of /wp-content/themes/[your_theme]/comments.php (please check the Twenty Ten theme’s “comments.php” for proper example).
It depends on the comments form. If the hook call by means of which captcha works (‘after_comment_field’ or something like this) is present in the file comments.php, you can change captcha positioning by moving this hook call. Please find the file ‘comments.php’ in the theme and change position of the line do_action( 'comment_form_after_fields' ); or any similar line – place it under the Submit button. In case there is no such hook in the comments file of your theme, then, unfortunately, this option is not available.
Follow the instructions below in order to add Google Captcha (reCAPTCHA) plugin to your custom PHP or HTML form: 1. Install the Google Captcha (reCAPTCHA) plugin and activate it. 2. (Optional) If you would like to have an ability to enable and disable the reCAPTCHA for your custom form on the plugin settings page, please add the following code to the ‘functions.php’ file of your theme: function add_custom_recaptcha_forms( $forms ) { $forms['my_custom_form'] = array( "form_name" => "Custom Form Name" ); return $forms; } add_filter( 'gglcptch_add_custom_form', 'add_custom_recaptcha_forms' ); In this example, ‘my_custom_form’ is a slug of your custom form. Please don’t use the following form slugs since they are predefined by plugin settings: login_form, registration_form, reset_pwd_form, comments_form, contact_form, cf7, si_contact_form, jetpack_contact_form, sbscrbr, bbpress_new_topic_form, bbpress_reply_form, buddypress_register, buddypress_comments, buddypress_group, woocommerce_login, woocommerce_register, woocommerce_lost_password, woocommerce_checkout, wpforo_login_form, wpforo_register_form, wpforo_new_topic_form, wpforo_reply_form. – Save file changes; – Go to the “Settings” tab on the plugin settings page (Admin Dashboard -> Google Captcha); If everything is OK, you will see your form in ‘Enable reCAPTCHA for’ => ‘Custom Forms’ (with labels which you specified in the “gglcptch_add_custom_form” hook call function). – Enable it and configure form options as you need; – Click “Save Changes” button; If you don’t add this code, no option for your custom form will be displayed on the plugin settings page and the reCAPTCHA will be always displayed in your custom form. Open the file with the form (where you would like to add reCAPTCHA); Find a place to insert the code for the reCAPTCHA output; If you completed the instructions in p. 2, then you should add: In this example, the second parameter is a slug of your custom form. Otherwise, insert the following line: After that, you should add the following lines to the function of the entered data checking. If you completed the instructions in p. 2, then you should add: In this example, the third parameter is a slug of your custom form. Otherwise, insert the following lines: If there is a variable in the check function responsible for the errors output, you can concatenate variable $check_result to this variable. If the ‘gglcptch_verify_recaptcha’ filter hook returns ‘true’, it means that you have entered the reCAPTCHA answer properly. In all other cases, the function will return the string with the error message. If you have followed all steps, but the problem remains, we can help you to configure your Google Captcha custom form. This will be a paid service since there are a lot of different custom forms and the code should be inserted individually into each of them, so we need some time to study each unique case.
Please make sure that the problem hasn’t been discussed yet on our forum (https://support.bestwebsoft.com). If no, please provide the following data along with your problem’s description: – The link to the page where the problem occurs – The name of the plugin and its version. If you are using a pro version – your order number. – The version of your WordPress installation – Copy and paste into the message your system status report. Please read more here: Instruction on System Status

Ratings

4.1
317 reviews

Rating breakdown

Details Information

Version

1.54

First Released

05 Feb, 2014

Total Downloads

474

Wordpress Version

4.0 or higher

Tested up to:

5.3

Require PHP Version:

-

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.