Support » Plugin: Contact Form 7 » Remove re-captcha badge from all pages of website

Viewing 4 replies - 1 through 4 (of 4 total)
  • Klatch

    (@klatch)

    Read up here, I posted a link to someones fix that hides it on all pages, another couple of workarounds as well.

    https://wordpress.org/support/topic/disable-recaptcha-v3-for-all-pages-except-the-one-with-a-contact7-form/#post-10993847

    NightL

    (@nightl)

    a very simple way is using css3 “not” selector

    body:not(.page-id-189) .grecaptcha-badge {
    display: none;
    }

    where .page-id-189 would be replaced with the page ID of your contact form

    from
    https://trackitweb.com/hide-the-contact-form-7-google-v3-recaptcha-badge/

    Based on “Google explains that the more pages the reCAPTCHA v3 script runs on, the more accurate it will be in determining whether visitors are human or bots.” I would be more inclined to use:

    body:not(.page-id-189) .grecaptcha-badge {
    visibility: hidden;
    opacity: 0;
    }

    spajonas

    (@spajonas)

    You can hide it on all pages and the script will still work fine. Understand that the CSS hiding of an element on a page does not affect the Javascript loading.

    sn2006gy

    (@sn2006gy)

    Loading it on every page is absurd (and slow). I’d like to just have it on my forms.

    I use a 3rd party plugin just fo recaptcha v3 on my register url and its saved me a lot of spam registrations. I don’t mind users having to click a picture on my contact forms if that means cutting back some of the spam i’m getting these days.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove re-captcha badge from all pages of website’ is closed to new replies.