WordPress.org

Plugin Directory

Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms

Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms

Skildring

Captcha by BestWebSoft is the premier spam protection and security plugin for WordPress, designed to safeguard your website’s forms from spam and malicious submissions. This plugin provides robust protection for login, registration, password recovery, comments, WooCommerce checkout, and custom forms using advanced captcha solutions, including Math captcha and OCR-friendly captcha.

Enhance your website’s security and user experience with versatile captcha options that are easy to set up and manage, ensuring uninterrupted protection against spam without the need for code modifications. Choose from Invisible captcha, Character recognition captcha, and Slide captcha to customize your protection strategy. Block bots effectively with powerful math-based challenges or smooth, user-friendly sliding interactions.

Captcha by BestWebSoft integrates seamlessly with popular plugins and is optimized for spam protection on WordPress forms, making it ideal for WooCommerce, Contact Form 7, and other integrations. Secure your site today with a lightweight, fast, and reliable solution that prioritizes both security and user experience.

Stop spam now with the most effective WordPress captcha solution!

View Demo

Free Features

  • Add Captcha to:
  • Choose Captcha Type:
    • Invisible Captcha
    • Character Recognition Captcha
    • Math Captcha (simple math operations like addition, subtraction, multiplication)
    • Slide Captcha
  • Enhance Captcha Protection with:
    • Letters
    • Numbers
    • Images
  • Hide Captcha for:
    • Registered users in comments form
  • Additional Features:
    • Set captcha submission time limit
    • Refresh captcha option
    • Edit captcha title and notifications
    • Compatible with the latest WordPress version
    • User-friendly settings for quick setup without coding
    • Comprehensive documentation and tutorial videos
    • Multilingual and RTL ready

Pro Features

All Free features plus:

  • Enhanced Compatibility:
    • Contact Form 7 (since v3.4)
    • Subscriber
    • Jetpack Contact Form
    • MailChimp for WordPress
    • Ninja Forms
    • Gravity Forms
    • WPForms
    • Caldera Forms
  • WooCommerce Integration:
    • Login form
    • Register form
    • Lost password form
    • Checkout billing form
  • bbPress Integration:
    • New Topic form
    • Reply form
  • BuddyPress Integration:
    • Registration form
    • Comments form
    • Create a Group form
  • wpForo Integration:
    • Login form
    • Registration form
    • New Topic form
    • Reply form
  • Divi Integration:
    • Contact Form
    • Login Form
  • LearnDash and BuddyBoss Integration:
    • LearnDash Login and Registration forms
    • BuddyBoss Registration form
  • Elementor Pro Integration:
    • Elementor Contact form
  • Advanced Features:
    • Hide captcha for allowed IP addresses
    • Merge IP addresses from Limit Attempts plugin with Captcha Allow List
    • Configure all subsites on the network
    • Set captcha submission time limits for individual forms
    • Image packages with hand-drawn digits
    • Add and activate unlimited image packages simultaneously
    • Customize Slide Captcha appearance
    • Add custom code via plugin settings page
    • Receive support responses within one business day (Support Policy)

Upgrade to Pro Now

If you have feature suggestions or ideas you’d like to see in the plugin, we’d love to hear from you! Suggest a Feature

Documentation & Videos

Help & Support

Visit our Help Center if you have any questions; our friendly Support Team is ready to assist you.

Affiliate Program

Earn a 20% commission by selling premium WordPress plugins and themes by BestWebSoft — Join the Affiliate Program

Translation

  • Arabic (ar_AR) (thanks to Albayan Design Hani Aladoli)
  • Bangla (bn_BD) (thanks to SM Mehdi Akram, www.shamokaldarpon.com)
  • Belarusian (bel) (thanks to Natasha Diatko)
  • Brazilian Portuguese (pt_BR) (thanks to Breno Jacinto, www.iconis.org.br)
  • Bulgarian (bg_BG) (thanks to Nick)
  • Catalan (ca) (thanks to Psiete)
  • Chinese (zh_CN) (thanks to TIM, Jack Chen, www.jackchen.im)
  • Taiwan (zh_TW) (thanks to Kaiconan)
  • Croatian (hr) (thanks to Daniel)
  • Czech (cs_CZ) (thanks to Michal Kučera www.n0lim.it)
  • Danish (da_DK) (thanks to Byrial Ole Jensed)
  • Dutch (nl_NL) (thanks to Bart Duineveld)
  • Estonian (et) (thanks to Ahto Tanner)
  • Greek (el) (thanks to Aris, www.paraxeno.net)
  • Farsi/Persian (fa_IR) (thanks to Mostafa Asadi, www.ma73.ir, Morteza Gholami)
  • Finnish (fi) (thanks to Mikko Sederholm)
  • French (fr_FR) (thanks to Martel Benjamin, Capronnier luc)
  • German (de_DE) (thanks to Thomas Hartung, Lothar Schiborr)
  • Hebrew (he_IL) (thanks to Sagive SEO)
  • Hindi (hi_IN) (thanks to Outshine Solutions, www.outshinesolutions.com)
  • Hungarian (hu_HU) (thanks to Peter Aprily)
  • Japanese (ja) (thanks to Foken)
  • Indonesian (id_ID) (thanks to Nasrulhaq Muiz, www.al-badar.net)
  • Italian (it_IT) (thanks to Marco)
  • Latvian (lv) (thanks to Juris O)
  • Lithuanian (lt_LT) (thanks to Arnas)
  • Norwegian (nb_NO) (thanks to Tore Hjartland)
  • Polish (pl_PL) (thanks to Krzysztof Opuchlik)
  • Portuguese (pt_PT) (thanks to João Paulo Antunes)
  • Romanian (ro_RO) (thanks to Ciprian)
  • Russian (ru_RU)
  • Serbian (sr_RS) (thanks to Radovan Georgijevic)
  • Slovak (sk_SK) (thanks to Branco Radenovich)
  • Slovenian (sl_SI) (thanks to Uroš Klopčič, www.klopcic.net)
  • Spanish (es_ES)
  • Swedish (sv_SE) (thanks to Christer Rönningborg, Blittan)
  • Tagalog (tl) (thanks to Roozbeh Jalali, www.languageconnect.net)
  • Turkish (tr_TR) (thanks to Can Atasever, www.canatasever.com)
  • Ukrainian (uk)
  • Vietnamese (vi_VN) (thanks to NDT Solutions)

Some translations may be incomplete. We continuously add new features that require translation. To create or update a language pack, send the text of PO and MO files to BestWebSoft. Download the latest Poedit version here.

Recommended Plugins

  • Limit Attempts — Protect your WordPress site against brute force attacks by limiting login attempts.
  • Updater — Automatically check and update your WordPress core, plugins, and themes to the latest versions.
  • Contact Form — A simple and essential contact form plugin for any WordPress site.
  • Subscriber — Add an email newsletter sign-up form to WordPress posts, pages, and widgets. Collect and manage subscriber data effectively.

Credits

  • This plugin includes a license verification mechanism to ensure the authenticity of your license key and provide access to premium features and updates. The verification process involves securely connecting to our external service hosted on the BestWebSoft website: BestWebSoft.
  • Privacy Policy
  • End User License Agreement

Skjermbilete

  • Login form with Captcha.
  • Registration form with Captcha.
  • Lost password form with Captcha.
  • Comments form with Captcha.
  • Contact form with Captcha.
  • Login form with Optical Character Recognition Captcha Type.
  • Login form with Slide Captcha Type.
  • Captcha Settings page.
  • Captcha Packages page.
  • Captcha Allow List page.

Installasjon

  1. Upload the captcha-bws folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Plugin settings are located in the «Captcha» section.

View a Step-by-step Instruction on Captcha Installation.

Vanlege spm.

How to add Captcha plugin to the WordPress login page (form)?

Follow these steps to add CAPTCHA to your WordPress login page:

  1. Open your WordPress admin Dashboard.
  2. Navigate to the Captcha settings page.
  3. Find «Enable Captcha for» and select the «Login form».
  4. Save changes.

Any captcha answer results in an error

CAPTCHA will only display on standard registration, login, and comments forms. If using custom forms and pages, you need to modify them to display and function correctly with CAPTCHA.

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. (Optional) If you would like to use your own settings for the custom forms you have (for example, for your contact and sign-up forms), please follow the steps below:
– Go to your theme folder, for example, «your-wp-site/wp-content/themes/your-theme-name» where your-theme-name is the theme name you are currently using;
– Open functions.php file;
– Add the following code to the end of the file:

function add_my_forms( $forms ) {
    $forms['my_contact_form'] = "Form Display Name";
    return $forms;
}
add_filter( 'cptch_add_form', 'add_my_forms' );

Please don’t use the next form slugs since they are predefined by plugin settings: general, wp_login, wp_register, wp_lost_password, wp_comments, bws_contact, bws_subscriber, buddypress_register, buddypress_comments, buddypress_group, cf7_contact, woocommerce_login, woocommerce_register, woocommerce_lost_password, woocommerce_checkout.
– Save file changes;
– Go to the «Settings» tab on the plugin settings page (Admin Dashboard -> Captcha); If everything is OK, you will see your form in «Enable Captcha for» => «External plugins» (with labels which you specified in the «cptch_add_form_tab» hook call function).
– Enable it and configure form options as you need;
– Click «Save changes»;

If you don’t want to use your own settings for CAPTCHA displaying in your custom form, it will use the settings from the «General» block on the plugin settings.

  1. Open the file with the form (where you would like to add CAPTCHA);
  2. Find a place to insert the code for the CAPTCHA output;
  3. If you completed the instructions in point 2, then you should add:

In this example, the second parameter is a slug for your custom form.

Otherwise, insert the following lines:

<?php echo apply_filters( 'cptch_display', '' ); ?>
  1. After that, you should add the following lines to the function of the entered data checking.
    If you completed the instructions in point 2, then you should add:

In this example, the third parameter is a slug for your custom form.

Otherwise, insert the following lines:

<?php $error = apply_filters( 'cptch_verify', true );
if ( true === $error ) { /* the CAPTCHA answer is right */
    /* do necessary action */
} else { /* the CAPTCHA answer is wrong or there are some other errors */
    echo $error; /* display the error message or do other necessary actions in case when the CAPTCHA test was failed */
} ?>

If there is a variable in the check function responsible for the errors output, you can concatenate variable $error to this variable. If the «cptch_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?

The 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 (e.g., 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 is called differently or comment form output functionality is inserted directly in the other templates themes (e.g., «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:

do_action ( 'comment_form_logged_in_after' )
do_action ( 'comment_form_after_fields' )
do_action ( 'comment_form' )

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

I have some problems with the plugin’s work. What Information should I provide to receive proper support?

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

Omtalar

9. januar 2025
This plugin is a fantastic solution for stopping spam on WordPress sites. The math captcha is simple yet effective, and it’s easy to set up even for custom forms. I upgraded to the Pro version for WooCommerce support, and it works flawlessly. Highly recommended for anyone needing reliable spam protection!
15. november 2024
Many thanks to the BestWebSoft Support Team who were able to provide a quick solution to my problemPatrick
31. oktober 2022 1 reply
Suddenly the free version is a trial and ends. When caching, I keep getting 403 errors. Deleted…
Les alle 18 omtalar

Bidragsytarar og utviklarar

“Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms” is open source software. The following people have contributed to this plugin.

Contributors

“Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms” er omsett til 4 språk. Takk til omsetjarane for bidraga deira.

Omset “Captcha by BestWebSoft – Advanced Spam Protection, Math & OCR-Friendly Captcha for Site Forms” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

V5.2.4 – 24.09.2024

  • Update : All functionality was updated for WordPress 6.6
  • Update : Check settings notice has been added.

V5.2.2 – 30.05.2024

  • Update : All functionality was updated for WordPress 6.5
  • Update : BWS panel section was updated.
  • NEW: Ability to use session to save captcha values has been added.
  • Bugfix : The issue with display captcha has been fixed.

V5.2.0 – 01.01.2024

  • Update : SQL Calls issue has been fixed.

V5.1.9 – 28.12.2023

  • Update : All functionality was updated for WordPress 6.4
  • Syntax errors fixed.

V5.1.8 – 19.10.2023

  • Update : All functionality was updated for WordPress 6.3.1
  • Update : BWS panel section was updated.
  • Bugfix : The issue with multisite settings has been fixed.
  • Pro : The compatibility with Divi Login Form and Divi Contact Form has been added.
  • Pro : The compatibility with Caldera Forms has been added.
  • Pro : The compatibility with LearnDash Forms has been added.
  • Pro : The compatibility with BuddyBoss Registration Form has been added.

V5.1.7 – 26.04.2022

  • Bugfix : Deactivation Feeback fix.

V5.1.6 – 30.03.2022

  • Update : All functionality was updated for WordPress 5.9.
  • Update : BWS Panel section was updated.
  • Pro : The compatibility with Elementor Pro has been added.

V5.1.5 – 10.08.2021

  • Update : All functionality was updated for WordPress 5.8
  • Update : Packages for slide captcha was updated.
  • Pro : The compatibility with WPForms has been added.

V5.1.4 – 29.06.2021

  • Bugfix : Syntax error has been fixed.
  • Update : BWS panel section was updated.
  • Update : Packages for slide captcha was updated.

V5.1.3 – 17.06.2021

  • NEW : Ability to edit messages of slide captcha has been added.
  • Bugfix : The issue of sending a password reset link on the user edit page has been fixed.
  • Update : All functionality was updated for WordPress 5.7.2
  • Pro : Ability to edit the appearance of slide captcha has been added.
  • Pro : The issue with submitting Contact 7 form has been fixed.
  • Pro : The issue with displaying captcha in the form of creating a new topic and in the reply form in WpForo has been fixed.

V5.1.2 – 13.04.2021

  • Bugfix : Captcha Time Limit Exceeded issue has been fixed.

V5.1.1 – 06.04.2021

  • Update : BWS panel section was updated.
  • Update : All functionality was updated for WordPress 5.7
  • Pro : The compatibility with Gravity Forms has been added.

V5.1.0 – 19.01.2021

  • Update : BWS panel section was updated.
  • Pro : Bug related to incorrect Captcha displaying at used several Image Packages has been fixed.
  • Update : Whitelist replaced with allow list.
  • Update : All functionality was updated for WordPress 5.6

V5.0.9 – 07.10.2020

  • NEW : Added RTL support for Slide Captcha.
  • Pro : The compatibility with Ninja Form has been fixed.
  • Bugfix : Fixed display Slide Captcha in Internet Explorer.
  • Update : React libraries have been updated.
  • Update : BWS panel section was updated.

V5.0.8 – 30.03.2020

  • NEW : New type of Captcha – Slide Captcha has been added.

V5.0.7 – 17.09.2019

  • Bugfix : Issue with Calling files remotely has been fixed.
  • Bugfix : Issue with Including Libraries Already In Core has been fixed.
  • Update : Checking for updates has been removed.
  • Update : BWS Menu Functionality is improved.

V5.0.6 – 04.09.2019

  • Update: The deactivation feedback has been changed. Misleading buttons have been removed.

V5.0.5 – 24.05.2019

  • NEW : The compatibility with Car Rental V2 has been added.
  • Bugfix : The bug with the «Advanced protection» option has been fixed.
  • Update : Chinese language file has been updated.
  • Update : All functionality was updated for WordPress 5.2.1.

V5.0.4 – 22.04.2019

  • PRO : Compatibility with Ninja Forms has been added.
  • Update : All functionality was updated for WordPress 5.1.1.

V5.0.3 – 04.02.2019

  • NEW : Ability to use captcha in the custom login forms which calls function wp_login_form() has been added.
  • Bugfix : Compatible with W3 Total Cache has been fixed.
  • Update : Spanish language file has been updated.
  • Update : All functionality was updated for WordPress 5.0.3.

V5.0.2 – 10.10.2018

  • NEW : Ability to choose Captcha type has been added.
  • NEW : Ability to enhance captcha protection with letters, numbers, images has been added.
  • NEW : Ability to hide captcha for registered users in comments form has been added.
  • NEW : Ability to set captcha submission time limit has been added.
  • NEW : Ability to refresh captcha option has been added.
  • NEW : Image packages with hand-drawn digits has been added.
  • NEW : Ability to edit captcha title and notifications has been added.
  • Pro : Compatible with MailChimp for WordPress has been added.
  • Pro : Compatible with bbPress has been added.
  • Pro : Compatible with wpForo has been added.
  • Bugfix : Bug related to incorrect Captcha displaying at Arithmetic Actions has been fixed.
  • Bugfix : Bug related to incorrect Captcha displaying at Optical Character Recognition has been fixed.
  • Bugfix : Bug related to the Network settings page has been fixed.
  • Bugfix : The bug with infinite Captcha loading in BuddyPress Comments form has been fixed.
  • Update : Czech language file has been updated.

V5.0.1 – 03.04.2018

  • Pro: Bug related to the inability to save settings after upgrading to Pro version has been fixed.

V5.0.0 – 14.09.2017

  • NEW : Plugin has been released.