Title: Disable Styles &amp; Scripts
Author: Luka Peharda
Published: <strong>2014 年 10 月 29 日</strong>
Last modified: 2014 年 10 月 29 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/disable-styles-scripts.svg)

# Disable Styles & Scripts

 作者：[Luka Peharda](https://profiles.wordpress.org/lpeharda/)

[下载](https://downloads.wordpress.org/plugin/disable-styles-scripts.zip)

 * [详情](https://cn.wordpress.org/plugins/disable-styles-scripts/#description)
 * [评价](https://cn.wordpress.org/plugins/disable-styles-scripts/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/disable-styles-scripts/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/disable-styles-scripts/#developers)

 [支持](https://wordpress.org/support/plugin/disable-styles-scripts/)

## 描述

Disable selected plugin (and/or theme) styles and scripts. Set conditions which 
will be evaluated.

## 屏幕截图

 * [[
 * User Interface

## 安装

 1. Upload `disable-styles-scripts.zip` to the `/wp-content/plugins/` directory
 2. Unzip the archive
 3. Activate the plugin through the ‘Plugins’ menu in WordPress
 4. Go to `Settings/Disable S&S` and tick checkbox next to the plugin (or theme) style
    or script that you wish to disable
 5. Enter special condition which will be evaluated and if they are true styles or 
    scripts will be disabled

## 评价

![](https://secure.gravatar.com/avatar/e8263461fea7393e84dae2fe5cec85c8eae31c44f8570d248aef1e099836c74c?
s=60&d=retro&r=g)

### 󠀁[Love it](https://wordpress.org/support/topic/love-it-4038/)󠁿

 [Kevin Shenk](https://profiles.wordpress.org/batonac/) 2023 年 7 月 18 日

After all these years of no updates, I’m still using this on my new site installs.
It would be great to see this updated, if for no other reason to show it’s still
alive and kicking…

![](https://secure.gravatar.com/avatar/baa69fb282a058d95e803e4640d064ebf37075850879fd3fa6f68c97c5fcd08d?
s=60&d=retro&r=g)

### 󠀁[Excelent](https://wordpress.org/support/topic/excelent-251/)󠁿

 [codeforest](https://profiles.wordpress.org/codeforest/) 2016 年 9 月 3 日

Easy to use and really powerful in some conflict situations. Could use a better 
explanations and examples for conditionals logic…

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/)

## 贡献者及开发者

「Disable Styles & Scripts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Luka Peharda ](https://profiles.wordpress.org/lpeharda/)

[帮助将「Disable Styles & Scripts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/disable-styles-scripts)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/disable-styles-scripts/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/disable-styles-scripts/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/disable-styles-scripts/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/disable-styles-scripts/)。

## 更新日志

#### 1.0

 * Initial version.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**12 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 1.0.0 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/disable-styles-scripts/)
 * 标签
 * [conditions](https://cn.wordpress.org/plugins/tags/conditions/)[disable](https://cn.wordpress.org/plugins/tags/disable/)
   [scripts](https://cn.wordpress.org/plugins/tags/scripts/)[styles](https://cn.wordpress.org/plugins/tags/styles/)
 *  [高级视图](https://cn.wordpress.org/plugins/disable-styles-scripts/advanced/)

## 评级

 4.2 星（最高 5 星）。

 *  [  4 条 5 星评价     ](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/disable-styles-scripts/reviews/)

## 贡献者

 *   [ Luka Peharda ](https://profiles.wordpress.org/lpeharda/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/disable-styles-scripts/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://enfinita.com/)