Wordpress 在特定页面/帖子上禁用插件 [英] Wordpress Disable Plugin on Specific Pages/Posts

查看:33
本文介绍了Wordpress 在特定页面/帖子上禁用插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道在特定页面上禁用插件(处于活动状态)的真正有效方法吗?有些插件在网站的某些页面中并不是真正需要的,它们有很多 CSS 和 JavaScript 文件,这些文件会降低网站的加载速度,有时可能会与其他文件发生冲突.

Does anyone know a really effective method for disabling a plugin (that is active) on a specific page? There are some plugins that are not really needed in some pages of the website and they have lot of CSS and JavaScript files that are slowing the loading speed of the website and sometimes might conflict with other files.

我知道我可以弄乱插件的代码等,但它并不是很有效.

I know that I can mess with the plugin's code etc. but it's not really effective.

有什么想法吗?

提前致谢!

推荐答案

试试 Jeff Sterup 的插件管理器"Wordpress 插件.您必须在其设置下启用选择性插件加载"(确保按照他们给出的说明启用它)

try "Plugin Organizer" Wordpress plugin by Jeff Sterup. You have to enable "Selective Plugin Loading" under it's settings (make sure to follow their directions given for enabling it)

然后在您的帖子/页面编辑器中,撰写窗口下方有一个带有复选框的框,用于禁用该页面的任何特定插件

Then in your post/page editor there is a box below the compose window with tickboxes to disable whichever particular plugin for that page

我大概搜索了 20 多个 Google 和 Wordpress 插件库,最终找到了一个简单的解决方案.希望它也适用于您!

took me probably 20+ Google and Wordpress plugins repository searches to finally find a simple solution. Hope it works for you too!

这篇关于Wordpress 在特定页面/帖子上禁用插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆