Description

The Captcha plugin allows you to implement a super security captcha form into web forms. It protects your website from spam by means of math logic, easily understood by human beings. You will not have to spend your precious time on annoying attempts to understand hard-to-read words, combinations of letters or pictures that make your eyes pop up. All you need is to do one of the three basic maths actions – add, subtract and multiply.
This captcha can be used for login, registration, password recovery, comments forms.

Captcha will only be displayed if you are using standard registration, login, comments form pages. In case of using custom forms and pages it will be necessary to make changes in them so that captcha could be displayed and work correctly.

Add Captcha plugin to a custom form on my WordPress website

Follow the instructions below in order to add Captcha plugin to your custom PHP or HTML form:
1. Install the Captcha plugin and activate it.
2. Open the file with the form (where you would like to add CAPTCHA);
3. Find a place to insert the code for the CAPTCHA output;
4. Insert the following lines:

<?php echo apply_filters( 'hctpc_display', '' ); ?>

After that, you should add the following lines to the function of the entered data checking:

If there is a variable in the check function responsible for the errors output, you can concatenate variable $error to this variable. If the ‘hctpc_verify’ filter hook returns ‘true’, it means that you have entered the CAPTCHA answer properly. In all other cases, the function will return the string with the error message.

Why is the CAPTCHA missing in the comments form?

Plugin displays captcha for those comments forms which were written in the same way as comments forms for the standard WordPress themes. Unfortunately, the plugin is incompatible with comments forms generated by using SAAS (eg: Disqus or JetPack comments forms). If you don’t use SAAS comments forms, please follow the next steps:
1. Using FTP, please go to {wp_root_folder}/wp-content/themes/{your_theme}.
2. Find and open “comments.php” file. It is possible that the file that is used to display the comment form in your theme called differently or comment form output functionality is inserted directly in the other templates themes (eg “single.php” or “page.php”). In this case, you need to open the corresponding file.
3. Make sure that the file contains one of the next hooks:

If you didn’t find one of these hooks, then put the string <?php do_action( 'comment_form', $post->ID ); ?> in the comment form.

Can I move the Captcha block in the comment form?

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.

Spam bots getting past captcha and creating new user accounts

Unfortunately, there is no captcha that could provide 100% spam protection. Real people (and spammers) can get through captcha easily. Here is a list of simple recommendations to stop spam on your WordPress website:
– Make sure that the Captcha plugin is installed, activated, updated to the latest version and integrated with your form(-s).
– Enable all captcha protection complexity. Go to the plugin settings page and enable such options as Plus, Minus, Multiplication; enable Numbers, Images, and Words.
– Try to submit the form(-s) with captcha (use the wrong answer to make sure that Captcha is working correctly).

hi, in the faq section you said:
After that, you should add the following lines to the function of the entered data checking:
where is code? I added the php code in my form but it doesn’t check the answer is correct or wrong.

After trying most WP Forms, my website design company has been exclusively using Formidable Forms and the plugin Captcha by BestWebSoft for security. The math captcha plugin works much better than pictures.
.