WordPress.org

Support

Support » How-To and Troubleshooting » How to activate reCAPTCHA on a wordpress site?

How to activate reCAPTCHA on a wordpress site?

Viewing 6 replies - 1 through 6 (of 6 total)
  • croakingtoad
    Member

    @croakingtoad

    That looks like a custom form or something. You’ll probably need to edit the template for that form and add the recaptcha shortcode.

    chocoheadfred
    Member

    @chocoheadfred

    Do you know what the shortcode is? Can’t get these to work? http://ow.ly/5cfu3

    croakingtoad
    Member

    @croakingtoad

    Depending on where you’ve edited (working blind here 😉 you may need to use the WP function do_action().

    So something like this where you put your bracketed shortcode-

    <?php do_action('recaptcha_form'); ?>

    Where “recaptcha_form” is the shortcode without the brackets for the plugin you’re using.

    Give that a whirl.

    chocoheadfred
    Member

    @chocoheadfred

    I think recaptcha_form is the correct shortcode. However, it’s not working. Need to ensure I’ve got this correct.

    However, just found that a captcha type deal was included with the nominate theme I got. Just installed it and it’s working now. Doesn’t look great but hopefully it will cut down on spam.

    Looking more into this, looks like:
    Your theme must have a do_action(‘comment_form’, $post->ID); call right before the end of your form (Right before the closing form tag). Most themes do.
    via: http://wordpress.org/extend/plugins/wp-recaptcha/other_notes/

    croakingtoad
    Member

    @croakingtoad

    Yeah that might be it. “Most themes do” < don’t believe it. 😉

    chocoheadfred
    Member

    @chocoheadfred

    Actually, looking closer at the installed recaptcha, it doesn’t work well. For instance, if you type in the wrong code as a user, it gives you a message that you did it incorrectly but doesn’t save your post.

    So, back to the drawing board with the original issue.

    After installing the short code and correct form code, still can’t get it to work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to activate reCAPTCHA on a wordpress site?’ is closed to new replies.