Deactivate Plugins Per Page v1.14.1 – Improve WordPress Performance

最后更新于:2022-03-28 10:30:42

格尺建站系统(GeChiUI.com)是基于WordPress深度定制中文版建站系统,优秀的主题与插件都可以无缝迁移到GeChiUI中使用。

With “Deactivate Plugins Per Page – Improve WordPress Performance”, you can easily disable plugins on certain WordPress sites (or on all but a selected one).

This is useful for speeding up your site mainly because many frontend plugins will load their JavaScript and CSS content on every page, even if you use them on a single page.

How Deactivate Plugins Per Page – Improve WordPress Performance works?

You can add deactivation rules for plugin is active. For example, for a contact form plugin that you only use on the contact page, simply add a rule to deactivate it on all URIs except on the contact page.

演示: https://codecanyon.net/item/deactivate-plugins-per-page-improve-wordpress-performance/23801359

add-rule

Deactivation Rules Options of Deactivate Plugins Per Page

1. Deactivation type

  • Deactivate on selected URI
  • Deactivate on all URIs except selected

2. URI . selection type

  • Page
  • Custom

3. Select pages to extract URI (it will update automatically if the page slug changes)

4. Custom URI conditions

  • URI equals…
  • URI is not equal to…
  • URI contains…
  • URI does not contain…
  • URIs begin with…
  • URIs do not begin with…
  • URI ends with…
  • URIs do not end with…
Custom-URI-condition

5. Devices Affected

  • All
  • Desktop
  • Mobile

Plugin Groups

Create groups of multiple plugins to add deactivation rules that affect all.

plugins-groups

Debug Mode

Enable debug mode to see what the URI is and which plugins are active/inactive on the current page in the front end. This will help you create rules and check existing rules. The debug box will appear on the user interface if you are an admin user.

debug-mode

Deactivate Plugins Per Page Does it affect the Back-end?

There is an option (not enabled by default) that makes all rules with custom URI selection also affect the back-end. Some back-end pages will remain unaffected to avoid problems, such as pages that control activation, deactivation, updates, and install plugin.

Preventive measures Deactivate Plugins Per Page

Group of plugins that work together

If you have a plugin that requires another plugin to work, you need to add these plugins to a plugin group and add deactivation rules to that group. Deactivating only one of these may result in an error or deactivating all other plugins.

Do not deactivate plugins required by your theme

Some themes require certain plugins to work properly. If you deactivate these plugins, you may have problems.

Deactivation hooks won’t run

When plugins are deactivated through my plugin, the actual deactivate function won’t be called and the deactivation hooks won’t 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 the plugin. Deactivate Plugins Per Page.

For example, some plugins add code to your “.htaccess” file when they are activated, and when they are deactivated, they delete it. In this case if you add a deactivate 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 won’t work on the page there.

Do not use this plugin to hide sensitive data

It’s not made to work safely for that. It is mainly made for website speed optimization and it can also be used to debug or solve plugin compatibility issues Deactivate Plugins Per Page.

Backup your website

Deactivating plugins on a per-page basis is not a natural thing for WordPress and plugin developers Deactivate Plugins Per Page and the thread doesn’t expect that. It works fine in most cases, but can sometimes lead to crashes, resulting in other plugins being disabled or settings being changed. Always have a recent backup of your site, and if you can, test your changes in a staging site.

Currently tested to

These are the highest versions of WordPress and PHP that I have tested the plugin for. They are not required, it will also work with lower versions. It may also work with higher versions, but it is not tested at this time on higher versions.

变更日志: Deactivate Plugins Per Page – Improve WordPress Performance

v1.14.1 – January, 16 2022​

Deactivate Plugins Per Page - Improve WordPress Performance - 3 ADDED: An option to choose the priority of the hook we use to change the active_plugins option. In some cases changing this value will solve a conflict with another plugin (but may also cause a conflict with a different plugin).

Deactivate Plugins Per Page - Improve WordPress Performance - 4 删除: The fix of the conflict with BuddyBoss plugin in combination with MemberPress Plus and MemberPress + BuddyPress Integration is removed by default. To enable it change the new option called “Priority” to 0.

Deactivate Plugins Per Page - Improve WordPress Performance - 5 UPDATED: Language files.

v1.14.0 – January, 15 2022​

Deactivate Plugins Per Page - Improve WordPress Performance - 6 ADDED: A new rule action that allows you to copy and paste rules from one plugin or group to another.

Deactivate Plugins Per Page - Improve WordPress Performance - 7 ADDED: An option to hide plugins with no rules if they are in at least one group.

Deactivate Plugins Per Page - Improve WordPress Performance - 8 FIXED: If there were skipped page rules when importing, the page IDs were not listed after the import.

Deactivate Plugins Per Page - Improve WordPress Performance - 9 FIXED: If an ajax request failed to be made due to a server error, it would show loading forever. Now shows an error.

Deactivate Plugins Per Page - Improve WordPress Performance - 10 FIXED: The plugin no longer works inside the visual editor screen of Elementor, Divi, and WPBakery Page Builder.

Deactivate Plugins Per Page - Improve WordPress Performance - 11 FIXED: A conflict with the BuddyBoss plugin in combination with MemberPress Plus and MemberPress + BuddyPress Integration.

Deactivate Plugins Per Page - Improve WordPress Performance - 12 FIXED: A conflict with Tutor LMS Pro in combination with the GeoDirectory plugin.

Deactivate Plugins Per Page - Improve WordPress Performance - 13 删除: Support for custom REST-API address when trying to skip affecting it by our rules, was removed due to plugin conflicts.

Deactivate Plugins Per Page - Improve WordPress Performance - 14 UPDATED: Language and documentation files.

v1.13.3 – 30 November 2021​
Deactivate Plugins Per Page - Improve WordPress Performance - 3 FIXED: Conflict with plugins that use the REST API when a rule that deactivates on all except selected URIs is present.

Deactivate Plugins Per Page - Improve WordPress Performance - 4 FIXED: In some cases this error would occur: PHP Fatal error: Uncaught Error: Call to undefined function is_plugin_active().

v1.13.2 – 7 September 21​
Deactivate Plugins Per Page - Improve WordPress Performance - 3 IMPROVED: Compatibility with the Nitro Pack service. This version adds the “ignorenitro” URI parameter to our option with chosen URI parameters to be ignored by rules with custom URI selection. This way when the Nitro Pack bot visits your site to generate its cache, our deactivation rules will be applied correctly.

1.13.1 – 13 August 2021​
Deactivate Plugins Per Page - Improve WordPress Performance - 3 FIXED: Could not create rules on version 1.13.0 unless you had installed a previous plugin version before updating to 1.13.0.

v1.13.0 – 20 July 2021​
Deactivate Plugins Per Page - Improve WordPress Performance - 3 ADDED: An option to add a note to each rule, so you are reminded what it is for.
Deactivate Plugins Per Page - Improve WordPress Performance - 4 IMPROVED: Added the new Update URI plugin header, so if a free plugin with the same name as this one is created in the WordPress repository, it doesn’t update and replace this one.
Deactivate Plugins Per Page - Improve WordPress Performance - 5 FIXED: The debug box in the customizer admin page now loads in the correct frame, and shows correct data.
Deactivate Plugins Per Page - Improve WordPress Performance - 6 FIXED: On some servers you would get a false error about an unexpected response after performing an action.
Deactivate Plugins Per Page - Improve WordPress Performance - 7 FIXED: If the icon of some plugin had changed, it would not load the new image. Now it detects it and gets the new one.
Deactivate Plugins Per Page - Improve WordPress Performance - 8 FIXED: The plugin no longer works inside the frame of the legacy widget blocks in WordPress 5.8.
Deactivate Plugins Per Page - Improve WordPress Performance - 9 FIXED: The plugin no longer works inside the front-end frame of the customizer.
Deactivate Plugins Per Page - Improve WordPress Performance - 10 UPDATED: Language files.

1.12.0 – 2 January 2021
Deactivate Plugins Per Page - Improve WordPress Performance - 3 ADDED: An option to show plugins that have rules before all other plugins in the Active / Inactive Plugins sections.
Deactivate Plugins Per Page - Improve WordPress Performance - 4 ADDED: Links to select all and deselect all pages when adding or editing rule, and the same for plugins when adding or editing a group. Also a counter for the number of currently selected.
Deactivate Plugins Per Page - Improve WordPress Performance - 5 ADDED: An option to enable Local Mode. In local mode all deactivations affect only your device, which is detected by a cookie.
Deactivate Plugins Per Page - Improve WordPress Performance - 6 IMPROVED: Some buttons now have a text description as well (instead of just an icon), so it is more clear what they do.
Deactivate Plugins Per Page - Improve WordPress Performance - 7 IMPROVED: The calculated list of active plugins after applying the deactivations is now cached in a global variable for the rest of the request to improve performance.
Deactivate Plugins Per Page - Improve WordPress Performance - 8 FIXED: A conflict with some plugins that change the active_plugins option would cause some plugins to be deactivated globally.
Deactivate Plugins Per Page - Improve WordPress Performance - 9 FIXED: When editing a rule, if there were pages that are not currently published but are selected, the background green selection color would not be there.
Deactivate Plugins Per Page - Improve WordPress Performance - 10 FIXED: If there was only one other plugin active, in the Active Plugins section it would show a message that there are no other plugins active.
Deactivate Plugins Per Page - Improve WordPress Performance - 11 UPDATED: Language files.

v1.11.0 - 7/27/2020
Deactivate Plugins Per Page - Improve WordPress Performance - 1 ADDED: An option to show the plugin icon image next to its name in the Active Plugins and Inactive Plugins sections.
Deactivate Plugins Per Page - Improve WordPress Performance - 2 ADDED: An option to cache the admin menus of plugins deactivated on some back-end pages.
Deactivate Plugins Per Page - Improve WordPress Performance - 3 ADDED: In a WordPress Multisite you can import the plugin rules and settings into multiple sites at once.
Deactivate Plugins Per Page - Improve WordPress Performance - 4 ADDED: An option to enable the plugin debug mode only on the front-end or only on the back-end.
Deactivate Plugins Per Page - Improve WordPress Performance - 5 IMPROVED: New layout for the Settings section.
Deactivate Plugins Per Page - Improve WordPress Performance - 6 IMPROVED: Compatibility with plugins that change the back-end dashboard address from wp-admin to something else.
Deactivate Plugins Per Page - Improve WordPress Performance - 7 FIXED: The iPad device with a Firefox browser was not detected as a mobile device.
Deactivate Plugins Per Page - Improve WordPress Performance - 8 UPDATED: Language files.
Deactivate Plugins Per Page - Improve WordPress Performance - 9 TESTED: Compatibility with WordPress 5.4.2.

⭐另请参考: Collection of WordPress plugins updated daily on FreeWP

下载 Deactivate Plugins Per Page v1.14.1 – Improve WordPress Performance Nulled Free:

注意: 也许你需要在安装插件之前解压。 如果任何主题/插件包含病毒,我们不提供任何保证。在本地主机上使用,请先查杀病毒。