Conditionally Load CF7 Plugin
Load Contact Form 7 & select CF7-related plugin scripts & styles only where needed.
In its default settings, Contact Form 7 loads its JavaScript and CSS stylesheet on every page. This slows page loading and taxes server and client resources. Use this plugin to control which pages the scripts load on.
NEW in v1.0.15: The plugin also prevents scripts and styles from the following plugins from loading. If you are using any other plugin that extends Contact Form 7 and loads its scripts on all pages, please open a support ticket and we will look into adding it.
- Contact Form 7 Conditional Fields
- Contact Form 7 Multi-Step Forms
- Contact Form CFDB7
- Drag and Drop Multiple File Upload — Contact Form 7
Translations
- English: Default language, always included
Would you like to help translate Conditionally Load CF7 into your own language? You can do that here!
Installation
USING THE WORDPRESS DASHBOARD
- Navigate to “Add New” in the plugins dashboard
- Search for “Conditionally Load CF7”
- Click “Install Now”
- Activate the plugin on the Plugin dashboard
- Go to Settings -> Conditionally Load CF7, upload your fonts, and configure the settings.
- Additional settings are available on individual post and page edit screens.
UPLOADING IN WORDPRESS DASHBOARD
- Click the download button on this and save “conditionally-load-cf7.zip” to your computer
- Navigate to “Add New” in the plugins dashboard
- Navigate to the “Upload” area
- Select “conditionally-load-cf7.zip” from your computer
- Click “Install Now”
- Activate the plugin in the Plugin dashboard
- Go to Settings -> Conditionally Load CF7, upload your fonts, and configure the settings.
- Additional settings are available on individual post and page edit screens.
USING FTP
- Download the Conditionally Load CF7 ZIP file
- Extract the Conditionally Load CF7 ZIP file to your computer
- Upload the “conditionally-load-cf7” directory to the
/wp-content/plugins/
directory - Activate the plugin in the Plugin dashboard
- Go to Settings -> Conditionally Load CF7, upload your fonts, and configure the settings.
- Additional settings are available on individual post and page edit screens.
DOWNLOAD FROM GITHUB
- Download the plugin via https://github.com/seezee/conditionally-load-cf7
- Follow the directions for using FTP
FAQ
How may I help improve this plugin? I’d love to hear your feedback. In particular, tell me about your experience configuring the plugin. Are the instructions clear? Do I need to reword them? Did I leave out something crucial? You get the drift.
I’d like to do more I’m looking for collaborators to improve the code. If you are an experienced WordPress programmer, hit me up!
I’d like to do even more Feel free to send a donation to my Paypal account. Or buy me a beer if you’re in town.
Changelog