• Skip to main content

WP Republic!

High Profile WordPress Security Services by WP Republic!

  • Blog
  • Malware Removal
  • Fix Request
  • Security Plans
  • About us
    • FAQ
    • Contact
    • Privacy Policy
    • Terms of Service

Jan 28 2019

How to remove Google’s reCAPTCHA badge from Contact Form 7

What has changed in Google’s v.3 of reCAPTCHA and how those changes affected Contact Form 7

Google’s reCAPTCHA is one of the best ways to fight contact form spam. That said Contact Form 7 has an extra option under their Integration page which lets you enable v.3 reCAPTCHA Anti-Spam protection to your CF 7 forms.

Version 3 of reCAPTCHA forced anyone using its API to show the reCAPTCHA Badge in all of his/her site pages. So, protecting your site from spam come with a cost since you had to tag your site and add Google’s own branding while this inserted some extra requests to Google(read more about this at the end of this post).

Learn how to remove Google’s reCAPTCHA global site badge, the proper way

This is a short tutorial which will help you remove reCAPTCHA badge from your WordPress site pages without breaking any of Google’s acceptable use policy.

Step 1: Declare usage of Google’s reCAPTCHA in any of your Contact Form pages


Recently Google allowed it’s reCPATCHA users to remove the badge from their sites as long as they included the following text inside their forms just before the “send” or “Submit” button:

This site is protected by reCAPTCHA and the Google
Privacy Policy and
Terms of Service apply.

Step 2: Enable badge invisibility within your Contact Form 7 forms


Next thing you need to do is order your site to hide the reCAPTCHA badge, in order to achieve this you need to add the extra CSS snippet in your theme custom CSS option.

.grecaptcha-badge {
opacity: 0;
}

If your theme doesn’t have an option adding custom/extra CSS code then you can install and activate the Simple Custom CSS plugin and add the CSS snippet in your Dashboard Customization page.

Bonus Tip: How does v.3 of reCAPTCHA affect your site speed


Google’s v3 of reCAPTCHA has some significant changes when compared to the previous version(v2). Apart from showing the badge in all of your site pages, there is one more change which will probably hurt your WordPress site loading speed. Google scripts are now loaded in all of your site pages in a way of predicting your site visitors behaviour and spam score. This way v3 of reCAPTCHA will be more efficient in blocking spammers and whitelisting original visitors and users.
This new way of reCAPTCHA predicting spam visitors actually adds some extra requests to your WordPress site which means that you have to expect a slower response and total load time.

Written by WP Republic! · Categorized: Blog · Tagged: badge, Google reCAPTCHA, remove

SUBSCRIBE TO OUR GOODIES LIST!

Reader Interactions

Comments

  1. erica says

    April 20, 2019 at 2:21 pm

    Huge help! It works like a charm, thank you.

    Reply
    • Bit of WP says

      April 20, 2019 at 2:30 pm

      Thank you Erica!

      Reply
  2. Amit says

    June 13, 2019 at 3:53 pm

    Awesome! Thanks a ton….

    Reply
  3. JJ pro says

    June 28, 2019 at 2:50 pm

    Didn’t work on avada

    Reply
    • Bit of WP says

      June 28, 2019 at 3:53 pm

      What happens if you enable a different theme instead of Avada?

      Reply
  4. Woz says

    July 21, 2019 at 7:05 pm

    Brilliant. Such a simple fix and easily explained.

    Reply
    • Bit of WP says

      July 21, 2019 at 7:26 pm

      Thank you 🙂

      Reply
  5. Petre Mitrache says

    July 23, 2019 at 9:10 am

    Thank you!

    Reply
    • Bit of WP says

      July 30, 2019 at 6:41 pm

      Thanks a lot Petre!

      Reply
  6. Diego says

    July 29, 2019 at 2:48 pm

    Muito obrigo!

    Reply
    • Bit of WP says

      July 30, 2019 at 6:44 pm

      Muchas gracias 😀

      Reply
  7. Olyana says

    July 30, 2019 at 8:24 am

    Thank you for your article ! Very helpful for my clothes website (Olyana-clothes.com) !

    Reply
    • Bit of WP says

      July 30, 2019 at 6:41 pm

      Thanks!

      Reply
  8. Warren says

    July 30, 2019 at 5:26 pm

    Thanks! This worked perfectly for my site.

    Reply
    • Bit of WP says

      July 30, 2019 at 6:41 pm

      Thank you Warren!

      Reply
  9. Ruben says

    July 31, 2019 at 1:58 pm

    Thank you! Funciona perfecto con Génesis Framework

    Reply
  10. Sajjad says

    August 27, 2019 at 10:31 am

    Thank you so much for the article.

    I have question, How to load only recaptcha files on specific pages where we need the recaptcha instead of loading the files on all website pages?

    This page https://contactform7.com/loading-javascript-and-stylesheet-only-when-it-is-necessary/ how to load contact form 7 files when it is necessary but there is nothing about recaptcha.

    Thanks.

    Reply
    • Bit of WP says

      September 3, 2019 at 4:05 pm

      try the following:

      function stop_recaptcha() {
      if ( is_page_template( 'template-contact.php' ) ) {
      if ( function_exists( 'wpcf7_enqueue_scripts' ) ) {
      wpcf7_enqueue_scripts();
      wp_enqueue_script( 'google-recaptcha' );
      }
      }
      add_action( 'wp_enqueue_scripts', 'stop_recaptcha' );

      source

      or

      //Add page slug you want to allow to array
      if ( !is_page( array( 'contact','some-other-page-with-form' ) ) ){
      wp_dequeue_script( 'google-recaptcha' );
      //wp_dequeue_script( 'google-invisible-recaptcha' );
      }
      });

      source

      Reply
  11. sirisha says

    August 30, 2019 at 8:24 am

    Thank You

    Reply
  12. Michal says

    September 14, 2019 at 10:12 am

    Hah, Thank You, i was looking for remove this bagde for few hours! Thanks!

    Reply
  13. Uchechukwu Ajuzieogu says

    September 30, 2019 at 5:06 am

    This is the most effective way to get this done! I’m definitely bookmarking your page. Thanks to the Editorial Team.

    Reply
  14. Therese Gerber says

    October 1, 2019 at 9:57 pm

    Thank you! So glad I found your page.

    Reply
  15. Thanh Thai says

    April 10, 2020 at 3:22 am

    Thank you! So glad I found your page.

    Reply
  16. Oriol says

    April 28, 2020 at 9:44 pm

    Thank you, such a great and easy to follow help!!

    Reply
  17. Rajat Kapoor says

    May 29, 2020 at 1:55 am

    Works like a charm… There is very slight difference in speed too…
    Thanks for your help

    Reply
  18. Best Vastu Shastra Consultant In Jaipur says

    June 4, 2020 at 3:30 pm

    Thanks, Well it works dramatically but is it good? Can google stop this working?

    Reply
  19. Notas de prensa gratis says

    April 9, 2021 at 5:05 pm

    Funciona perfecto, gracias por compartir!!!. Me tapaba un botón flotante que tengo y ahora ya no se ve.

    Reply
  20. UK Properties says

    November 22, 2021 at 8:32 am

    This article really helped me one putting contact form 7 with recaptcha. Thank you so much for sharing. Keep the good work up.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2025 · Security Services · WP Republic!
This website is not affiliated with or sponsored by Automattic or the WordPress Open Source project