提高WordPress性能Deactivate Plugins Per Page插件 v1.14.3

提高WordPress性能Deactivate Plugins Per Page插件

Deactivate Plugins Per Page插件 – 提高 WordPress 性能”,您可以轻松地禁用某些 WordPress 站点(或除选定站点之外的所有站点)上的插件。这对于加速您的网站很有用,主要是因为许多前端插件会在每个页面上加载其 JavaScript 和 CSS 内容,即使您在单个页面上使用它们也是如此。

Deactivate Plugins Per Page插件 – 提高 WordPress 性能如何工作?

您可以添加停用规则 插入 活跃。 例如,对于仅在联系页面上使用的联系表单插件,只需添加一个规则以在除联系页面之外的所有 URI 上停用它。

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

每页停用插件的停用规则选项

1.停用类型

  • 在选定的 URI 上停用
  • 停用除选定的所有 URI

2. 网址。 选择类型

3.选择页面提取URI (如果页面 slug 发生变化,它将自动更新)

4.自定义URI条件

  • URI 等于…
  • URI 不等于…
  • URI 包含…
  • URI 不包含…
  • URI 以…开头
  • URI 不以…开头
  • URI 以…结尾
  • URI 不以…结尾

5. 受影响的设备

插件组

创建多个插件组以添加影响所有插件的停用规则。

调试模式

Deactivate Plugins Per Page插件 启用调试模式以查看 URI 是什么以及哪些插件在前端的当前页面上处于活动/非活动状态。 这将帮助您创建规则并检查现有规则。 如果您是管理员用户,调试框将出现在用户界面上。

每页停用插件会影响后端吗?

Deactivate Plugins Per Page插件有一个选项(默认情况下未启用)使所有具有自定义 URI 选择的规则也影响后端。 一些后端页面将保持不受影响以避免出现问题,例如控制激活、停用、更新和 安装插件.

预防措施停用每页插件

一组协同工作的插件

如果您有一个插件需要另一个插件才能工作,您需要将这些插件添加到插件组并将停用规则添加到该组。 仅停用其中一个可能会导致错误或停用所有其他插件。

不要停用主题所需的插件

有些主题需要某些插件才能正常工作。 如果您停用这些插件,您可能会遇到问题。

停用挂钩不会运行

当通过我的插件停用Deactivate Plugins Per Page插件 时,不会调用实际的停用功能,也不会运行停用挂钩。 相反,为了让它在每个页面上工作,插件只是在页面加载之前从活动插件列表中动态删除。 这意味着,如果插件在停用时执行了某些操作,则在通过插件停用时,这些操作将不会运行。

例如,某些插件在激活时会将代码添加到您的“.htaccess”文件中,而当它们被停用时,它们会将其删除。 在这种情况下,如果您使用我的插件添加停用规则以在某个页面上停止插件,“.htaccess”代码仍将存在并在该页面上工作,即使该插件不会在该页面上工作。

不要使用此插件隐藏敏感数据

它不是为了安全工作而设计的。 它主要用于网站速度优化,也可用于调试或解决插件兼容性问题 Deactivate Plugins Per Page插件.

备份您的网站

逐页停用插件对于 WordPress 和插件开发人员来说并不是一件自然的事情Deactivate Plugins Per Page插件并且线程并不期望那样。 它在大多数情况下都能正常工作,但有时会导致崩溃,从而导致其他插件被禁用或设置被更改。 始终对您的站点进行最近的备份,如果可以,请在临时站点中测试您的更改。

目前测试为

这些Deactivate Plugins Per Page插件 是我测试过插件的最高版本的 WordPress 和 PHP。 它们不是必需的,它也适用于较低版本。 它也可能适用于更高版本,但目前尚未在更高版本上进行测试。

更新日志:Deactivate Plugins Per Page插件 – 提高 WordPress 性能

v1.14.3 – 14 April 2022​
Deactivate Plugins Per Page - Improve WordPress Performance - 4 FIXED: The settings were not showing correct values in Firefox after importing new values due to Firefox trying to autocomplete the old values after page reload.

v1.14.2 – 9 April 2022
Deactivate Plugins Per Page - Improve WordPress Performance - 4FIXED: Assets not loading and incorrect paths when used in WAMP on Windows, due to incorrect directory separator. The PHP constant DIRECTORY_SEPARATOR has been removed now from the plugin.

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 REMOVED: 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 REMOVED: 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.

⭐另见:收藏 WordPress插件 每天更新 免费WP

下载Deactivate Plugins Per Page插件 v1.14.3 – 提高 WordPress 性能

笔记: 也许你需要在安装插件之前解压缩。 如果任何主题/插件包含病毒,我们不提供任何保证。 在 localhost 上使用之前,请检查 Virustotal。


发表评论