Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1083318
    tashitendrel
    Participant

    Hello,

    I’d like to add reCapcha to the contact form and Google asks to paste <script src=’https://www.google.com/recaptcha/api.js’></script&gt; before the closing </head> tag on your HTML template.

    How can I do it?
    thank you

    #1083497
    Thai
    Moderator

    Hi There,

    Please add the following code under functions.php file locates in your child theme:

    add_action( 'wp_head', 'x_add_recaptcha' );
    function x_add_recaptcha(){
      ?>
      <script src='https://www.google.com/recaptcha/api.js'></script>
      <?php
    }

    Regards!

  • <script> jQuery(function($){ $("#no-reply-1083318 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>