How to activate reCAPTCHA on a wordpress site? (7 posts)

  1. chocoheadfred
    Posted 4 years ago #

    I'm having trouble activating reCAPTCHA. I think it has been installed correctly: http://screencast.com/t/e8ehZFziqVh

    However, it is not showing up here: http://screencast.com/t/88Djce20 (site is http://nicestperson.com/)

    I'm unsure if I need to add some extra code to this page or what.

  2. croakingtoad
    Posted 4 years ago #

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

  3. chocoheadfred
    Posted 4 years ago #

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

  4. croakingtoad
    Posted 4 years ago #

    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.

  5. chocoheadfred
    Posted 4 years ago #

    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/

  6. croakingtoad
    Posted 4 years ago #

    Yeah that might be it. "Most themes do" < don't believe it. ;)

  7. chocoheadfred
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.