• Hi,

    Is there any way to manually insert the reCaptcha functionality into a template?

    I have a custom signup form on a custom page, that is showing the error
    Error: the Captcha didn’t verify.
    but the reCaptcha is nowhere to be seen.

    If I turn off the Signup Protection, my signup form is working fine.

    Thank you for your time.

    https://wordpress.org/plugins/wp-recaptcha-integration/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor podpirate

    (@podpirate)

    Hi,
    the plugin hooks into the register_form action,
    so <?php do_action('register_form'); ?> in your form should do it.
    cheers,
    jörn

    Hi Im confused how to get this to work in the standard woocommerce checkout form. I cant find any info on this. I have the plugin installed, registered my site with google inserted the api keys from google.
    But i dont know exactly where to put this??

    Paste this snippet before the closing </head> tag on your HTML template:
    <script src=’https://www.google.com/recaptcha/api.js’></script&gt;

    Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:
    <div class=”g-recaptcha” data-sitekey=”6Lfjlkghkfgjghklfgh87988ouy8q8r0tt80r”></div>
    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Manually insert into template file?’ is closed to new replies.