Hide reCAPTCHA Badge on Non-Form Pages for Contact Form 7
Hide reCAPTCHA Badge on Non-Form Pages for Contact Form 7 loads Google reCAPTCHA v3 only on the pages that show a Contact Form 7 form. Every other page loses the badge and the Google scripts behind it. Contact Form 7 loads reCAPTCHA v3 on your whole site once you connect it, so the badge sits on pag
Hide reCAPTCHA Badge on Non-Form Pages for Contact Form 7 loads Google reCAPTCHA v3 only on the pages that show a Contact Form 7 form. Every other page loses the badge and the Google scripts behind it.
Contact Form 7 loads reCAPTCHA v3 on your whole site once you connect it, so the badge sits on pages that have no form. This plugin removes it there and leaves your forms protected.
What you get
- The reCAPTCHA badge disappears from pages without a form
- Fewer third-party scripts on those pages, so they load faster
- Forms keep full reCAPTCHA spam protection
- Forms are found wherever they are: content, footer, sidebar, widgets, page builders and popups
- Nothing to configure
How it works
The plugin watches whether Contact Form 7 puts a form on the page. If it does, reCAPTCHA loads as usual. If it does not, the scripts are never printed, so there is no badge to hide with CSS.
Source code and issues: GitHub
- 01Install the plugin from Plugins > Add New, or upload it.
- 02Activate it. Contact Form 7 must be active.
- 03Visit a page without a form. The reCAPTCHA badge is gone.
Frequently asked questions.
How do I hide the reCAPTCHA badge in WordPress?
If the badge comes from Contact Form 7, activate this plugin. The badge disappears from every page that has no Contact Form 7 form, with no CSS and no settings.