Disgrifiad
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.
Gosod
- Install from WordPress Plugin Directory or upload plugin files
- Activate the plugin
- Done! reCAPTCHA will only load on pages with forms
Cwestiynau Cyffredin
-
Does this work with the latest Contact Form 7?
-
Yes, tested up to Contact Form 7 6.1.3 and WordPress 6.8.
-
Do I need to configure anything?
-
No. The plugin works automatically after activation.
-
Will this affect my form submissions?
-
No. Forms with reCAPTCHA will work normally. The plugin only removes scripts from non-form pages.
-
Does it support custom post types?
-
Yes. It checks all singular pages/posts for CF7 shortcodes.
Contributors & Developers
“Hide reCAPTCHA on Non-Form Pages for Contact Form 7” is open source software. The following people have contributed to this plugin.
CyfranwyrTranslate “Hide reCAPTCHA on Non-Form Pages for Contact Form 7” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Cofnod Newid
2.0.0
- Complete rewrite with modern PHP 8+ practices
- Improved performance with optimized detection
- Better code structure with singleton pattern
- Added CF7 dependency check
- Updated for WordPress 6.8 and Contact Form 7 6.1.3
- Requires PHP 7.4+, WordPress 6.7+, Contact Form 7 5.1+
1.0.2
- Removed CSS to hide grecaptcha-badge
1.0.1
- Bug fixes
1.0.0
- Initial release