Hiding the Google ReCAPTCHA badge, except for Contact Us

Hiding the Google ReCAPTCHA badge, except for Contact Us

Google's ReCAPTCHA automatically shows a copyright badge on every page. You can hide this using CSS.

First, find out the page number(s) of the page(s) that actually include a form that uses ReCAPTCHA.

Then add the following to the theme's CSS (in this example it's for all except page 144):
  1. /* Google ReCaptcha badge */
  2. body:not(.page-id-144) .grecaptcha-badge {
  3. display: none;
  4. }