Disable WordPress Plugins From Loading In Post Pages shows you how to disable and enable plugins from certain pages and post from Standard view and Mobile view.
Last Updated: December 20, 2017
Latest News: I have updated the information and some of the images to reflect the changes made in version 9.0.
This plugin is very powerful and flexible. You do need some knowledge to understand the functionality of the plugin. I suggest that you spend some time understanding how to set this plugin before you go live.
This tutorial will guide you and help you disable your contact form plugin from loading on your all your pages and or posts. Then you will learn how to enable the contact form plugin in one page Contact Us page.
Disabling some plugins from loading in pages and posts improves the loading speed. This helps to improve your SEO with search engines like Google.
Note: Save and test your settings before you go live.
What You Need
Disable WordPress Plugins From Loading In Post Pages Steps
Step 1 ) Install and activate the plugin like you normally do. Click on the following URL How To Install WordPress Plugins to learn how to install a plugin.
Step 1-a ) The following image displays the warning message the developer has added. This is because too many keep running into issues when organizing the plugin settings. Please read this warning message and make sure you understand the consequences if something goes wrong.
Step 2 ) Click on Plugin Organizer tab on the sidebar to set up the following options. For this post you will only be editing Settings and Global Plugins.
- Global Plugins
- Search Plugins
- Post Type Plugins
- Group And Order Plugins
- Filter Groups
- Plugin Filters
Step 3 ) Go to Plugin Organizer -> Settings tab to set up and manage the following options. For this tutorial you will only be working with General Settings.
- General Settings
- Admin CSS
- Recreate Permalinks
- Mobile User Agents
- Manage MU plugins file
Step 4 ) Go to Plugin Organizer -> Settings -> General Settings tab to set up the following options. For this tutorial only three options need to enabled Custom Post Type Support, Selective Plugin Loading and Selective Mobile Plugin Loading.
- Fuzzy URL matching
- Ignore URL Protocol
- Ignore URL Arguments
- Only allow network admins to change plugin load order?
- Custom Post Type Support = Make sure post and page is selected. If you have other custom post that you would also like to control then select them as well.
- Auto Trailing Slash
- Selective Plugin Loading = You must enabled this feature for the plugin to work.
- Selective Mobile Plugin Loading = You must enabled this feature if want to exclude plugins from loading to some pages and post in mobile devices like mobile phones and tablets.
- Selective Admin Plugin Loading
- Disable Plugins By Roles = (Added in version 9.0)
- Click on Save Settings button once you have completed your settings.
Global Plugins Settings
Step 5 ) Go to Plugin Organizer -> Global Plugins tab to manage and organize the plugins via the global settings. This tab allows you to control the plugins you want to enable or disable globally via the standard or the mobile area. Any plugin added here will be disabled globally in all the pages and post and will not function.
Note: Remember the Legend, it lets you know more about each plugin.
- Globally Disabled = You will see the following button Selected next with a color. This lets you know that any plugin you globally select will be highlighted with the same color.
In the image below you can see a few plugins listed.
Note: In your site you will have different plugins listed.
Disable Standard And Mobile Settings
Here you can disable a plugin or plugins, simply by using your mouse select and drag any of the plugins displayed in the list and dropping them to the Disabled Standard area and or the Disabled Mobile area as illustrated below in the second image.
For this tutorial the following plugin Fast Secure Contact Form will be disabled from all the pages and post and only enabled in the Contact Us page.
Example Available Plugins
- All In One WP Security
- Plugin Inspector
- Compact Audio Player
- Fast Secure Contact Form = This is the current contact form that is active. This is the form that is going to be disabled from all post and pages except from the Contact Us page.
Step 5-a ) The following image shows you two different areas that allows you to control where the plugins will be disabled from. It also displays the plugin Fast Secure Contact Form, which has been disabled globally from the standard and mobile areas.
- Disabled Standard – All Users
- Disabled Mobile – All Users = Remember you also need to enable Selective Mobile Plugin Loading under Settings as pointed out in Step 3 ) above.
Note: You can add as many plugins and groups to both areas above. And you can remove all at once if you want.
Enable Plugin On Page
Step 6 ) Once you have set up the above, go and edit the page in question which is Contact Us. Scroll to the bottom of the page and you will see the following settings as illustrated in the image below. But this time the plugin in question Fast Secure Contact Form is in red. The reason why the plugin is highlighted in red is because it is disabled globally. Here you need to drag and drop the plugin back to Available Items Plugins list. Once that is done make sure you save your settings and view the page. The contact form should be displayed on the page. That is a good sign and the plugin is doing its job.
Note: In your website the contact us page might have a different name. In that case make sure you select the correct page.
The above instructions is very simple and easy to follow. Now you know to disable one plugin from loading in all the pages and post in your website except for one page. This method can be applied to all the plugins you want to disable and enable on certain pages and posts. I will explain how that can be achieved using other settings but that will be included in another tutorial.
If you have any questions please let me know. I will be updating this post from time to time. So make sure you come back for the latest update.
Go Back To WordPress Tutorials List: