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

查看:93
本文介绍了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天全站免登陆