• Im using a wp_login_form() in my comments template for social login and user login.Even if im not calling the captcha function in template,When i try to login with correct credentialsit takes me to wp-admin with the message

    Please enter a CAPTCHA value.

    Why this happens?Also please help me to add captcha to wp_login_form() used in a custom template.

Viewing 1 replies (of 1 total)
  • Hi,

    Try to do the following:
    1) Go to the plugin settings page;
    2) Open Custom code tab;
    3) Mark “Activate” checkbox in the “Editing bws-custom-code.php” section;
    4) Add the following code:

    function add_bws_captcha( $content ) {
        return $content . cptch_display_captcha_custom( 'wp_login', 'cptch_wp_login' );
    }
    add_filter( 'login_form_middle', 'add_bws_captcha' );

    5) Save changes.

Viewing 1 replies (of 1 total)
  • The topic ‘Not working with wp_login_form()’ is closed to new replies.