With “Deactivate Plugins Per Page” you can easily disable plugins on certain WordPress pages (or on all except a selected page).
How it works?
You can add deactivation rules for active plugins. For example for a contact form plugin, that you only use on the contact page, simply add a rule to deactivate it on all URI except on the contact page.
Deactivation Rules Options
1. Deactivation Type - Deactivate on selected URI - Deactivate on all URI except selected
2. URI selection type - Page - Custom
3. [Page] Select pages to extract URI from (it will update automatically if the page slug changes)
3. [Custom] Custom URI condition - URI equals … - URI does not equal … - URI contains … - URI does not contain … - URI starts with … - URI does not start with … - URI ends with … - URI does not end with …
4. Affected devices - All - Desktop - Mobile
Create groups of multiple plugins in order to add deactivation rules that affect them all.
Enable debug mode to see what is the URI and which plugins are active/inactive on the current page on the front-end. This will help you create rules and test current ones. A debug box will appear on the front-end if you are an administrator user.
Does it affect the Back-end?
There is an option (not enabled by default) that makes all rules with Custom URI selection to also affect the back-end. Some back-end pages will still not be affected in order to avoid problems, like the pages that control plugin activation, deactivation, updates, and installation.
Some things to keep in mind
When plugins are deactivated via my plugin, the actual deactivation function is not called, and the deactivation hooks will not run. Instead, to make it work per page, plugins are just dynamically removed from the list of active plugins before the page loads. This means that if a plugin has some actions that it performs when it is deactivated, these actions will not run when it is deactivated via my plugin.
For example, some plugins add code to your ”.htaccess” file when they are activated, and when they are deactivated, they remove it. In this case if you add a deactivation rule with my plugin to stop the plugin on a certain page, the ”.htaccess” code will still be there and work on that page, even though the plugin will not be active on it.
Write your comment!
Access Permission Error
You do not have access to this product!
To download this product, follow these steps:
Please subscribe to the One Day VIP or higher plan. (Please click here to upgrade your account)