Hide reCAPTCHA on Non-Form Pages for Contact Form 7

Hide reCAPTCHA on Non-Form Pages for Contact Form 7

By Abhi
Details
View on WordPress

By default, Contact Form 7 loads Google reCAPTCHA scripts on every page of your site, even pages without forms. This plugin intelligently detects pages with Contact Form 7 shortcodes and only loads reCAPTCHA where needed.

Benefits:
✅ Improved page load speed
✅ Reduced HTTP requests
✅ Better user experience (no badge on non-form pages)
✅ Automatic detection – no configuration needed
✅ Works with all CF7 versions

How it works:
The plugin checks each page for Contact Form 7 shortcodes. If no form is found, it prevents reCAPTCHA scripts from loading, keeping your site fast and clean.

Details

Plugin code:
hide-recaptcha-on-non-form-pages-for-contact-form-7
Plugin version:
2.0.0
Author:
Outdated:
No
WP version:
6.7 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.8.3
Total installations:
10
Last updated:
2025-11-30
Rating:
Times rated:
2
cf7
contact-form-7
google-recaptcha
performance
recaptcha