Title: Admin CSS MU
Author: Arun Basil Lal
Published: <strong>2012 年 6 月 26 日</strong>
Last modified: 2024 年 12 月 9 日

---

搜索插件

![](https://ps.w.org/admin-css-mu/assets/banner-772x250.png?rev=1401433)

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

![](https://ps.w.org/admin-css-mu/assets/icon-128x128.png?rev=1401433)

# Admin CSS MU

 作者：[Arun Basil Lal](https://profiles.wordpress.org/arunbasillal/)

[下载](https://downloads.wordpress.org/plugin/admin-css-mu.zip)

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

 [支持](https://wordpress.org/support/plugin/admin-css-mu/)

## 描述

A simple plugin that lets you add your custom CSS to style the WordPress Admin. 
Works with WordPress single install and WordPress multisites.

Version 2.0 is updated wtih an Admin interface and can be found in Appearance > 
Admin CSS MU

Admin CSS MU uses CSSTidy to clean and optionally minify CSS. CSS is only minified
while using it. The editor always shows un-minified CSS for easy editing.

Note: If you want to easily add custom CSS on your Login and Front-end as well (
along with WordPress Admin), use my [Custom Login Admin Front-end CSS](https://wordpress.org/plugins/custom-login-admin-front-end-css-with-multisite-support/)
plugin instead.

## 屏幕截图

[⌊Admin Interface in Appearance > Admin CSS MU⌉⌊Admin Interface in Appearance > 
Admin CSS MU⌉[

Admin Interface in Appearance > Admin CSS MU

## 安装

To use as a normal plugin in WordPress single install and Multisite.

 1. Install the plugin through the WordPress admin interface, or upload the folder /
    admin-css-mu/ to /wp-content/plugins/ using ftp.
 2. Activate the plugin via WordPress admin interface. If it is a Multisite, Network
    Activate it.
 3. Go to WordPress Admin > Appearance > Admin CSS MU and add the custom CSS you want.
 4. For Multisites, the settings page will be in the Appearance > Admin CSS MU of the
    main site. Only network admins can add/edit CSS.

## 常见问题

### Can I try the CSS sample from the screenshot?

Sure! To change the background colour of the dashboard add this and save.

    ```
    #wpwrap {
        background-color: #5f5f5f !important;
    }
    body, h1, p {
        color: #f1f1f1 !important;
    }
    ```

### I found this plugin very useful, how can I show my appreciation?

I am glad to hear that! You can either [make a donation](http://millionclues.com/donate/)
or leave a [rating](https://wordpress.org/support/plugin/admin-css-mu/reviews/?rate=5#new-post)
to motivate me to keep working on the plugin.

## 评价

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

### 󠀁[Best plugin](https://wordpress.org/support/topic/best-plugin-1382/)󠁿

 [hirenwebs](https://profiles.wordpress.org/hirenwebs/) 2024 年 3 月 22 日

This plugin helped me to enable table columns in device mode. Good plugin to use
it.

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

### 󠀁[I really Needed This!!!](https://wordpress.org/support/topic/i-really-needed-this/)󠁿

 [Jimmy Lee](https://profiles.wordpress.org/shirtguy72/) 2024 年 2 月 25 日

Exactly what I needed! Thanks so much!

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

### 󠀁[Works perfect](https://wordpress.org/support/topic/works-perfect-1057/)󠁿

 [tlcpllechlak](https://profiles.wordpress.org/tlcpllechlak/) 2023 年 10 月 31 日
1 回复

Thank you!

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

### 󠀁[Nice, but not works with complex css](https://wordpress.org/support/topic/nice-but-not-works-with-complex-css/)󠁿

 [tokach](https://profiles.wordpress.org/tokach/) 2023 年 10 月 17 日 1 回复

It do simple css but can’t handle media queries or multiple selectors. Better it
simply add styles than making them pretty, I bet tidying is messing all

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

### 󠀁[Works great. Thank you.](https://wordpress.org/support/topic/works-great-thank-you-63/)󠁿

 [Mara-z](https://profiles.wordpress.org/mara-z/) 2023 年 10 月 17 日 1 回复

Works great. Thank you.

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

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-10050/)󠁿

 [mikguel](https://profiles.wordpress.org/mikguel/) 2023 年 9 月 18 日 1 回复

Works perfectly, thanks! good job!

 [ 阅读所有26条评价 ](https://wordpress.org/support/plugin/admin-css-mu/reviews/)

## 贡献者及开发者

「Admin CSS MU」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Arun Basil Lal ](https://profiles.wordpress.org/arunbasillal/)

「Admin CSS MU」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/admin-css-mu/contributors)
为本插件所做的贡献。

[帮助将「Admin CSS MU」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/admin-css-mu)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.10

 * Date: 04.October.2023
 * Tested with WordPress 6.3.1
 * Enhancement: Added compatibility with PHP 8.x

#### 2.9

 * Date: 16.May.2023
 * Tested on WordPress 6.2
 * Enhancement: Added support for `justify-content`. `align-items`, and `flex-wrap`
   in CSSTidy.

#### 2.8

 * Date: 9.February.2023
 * Tested on WordPress 6.1.1
 * Enhancement: Added support for `flex-direction` in CSSTidy.

#### 2.7

 * Date: 19.October.2022
 * Tested on WordPress 6.0.3.
 * Security Fix: Deleted unwanted files in CSSTidy. Thanks Darius from Patchstack
   for the heads up.

#### 2.6

 * Date: 17.May.2021
 * Tested on WordPress 5.7.2
 * Updated CSSTidy to 1.7.3
 * Added support for CSS properties grid-gap and grid-template-columns.
 * Fix PHP warning: PHP Warning: “continue” targeting switch is equivalent to “break”
   in class.csstidy.php on line 859.

#### 2.5

 * Date: 18.January.2018
 * Added support for PHP version lesser than PHP 5.5
 * Updated text domain. For plugins, text domain should be the slug which is admin-
   css-mu in this case
 * Tested with WordPress 4.9.2

#### 2.4

 * Date: 29.August.2017
 * Fixed: Compatibility issue with [Custom Login Admin Front-end CSS](https://wordpress.org/plugins/custom-login-admin-front-end-css-with-multisite-support/)
   plugin.
 * Updated readme.txt to work around [#2931](https://meta.trac.wordpress.org/ticket/2931)
 * New: Added an option “Load Admin CSS” to enable and disable CSS easily. Useful
   during testing.
 * Code improvements.

#### 2.3

 * Date: 18.August.2017
 * Tested with WordPress 4.8.1. Result = pass.
 * Updated CSSTidy classes to meet PHP 7.x standards.
 * Added option to minify CSS. CSS is only minified during use and the CSS editor
   will show the un-minified and more readable version for easy editing.

#### 2.2

 * Date: 14.December.2016
 * Tested with WordPress 4.7.
 * Uses wp_kses() instead of esc_html() during output to prevent stripping of useful
   html tags.
 * Minor bug fixes.

#### 2.1

 * Date: 19.March.2016
 * Updated multisite compatibility.
 * Appearance > Admin CSS MU is now visible only on the main website.

#### 2.0

 * Date: 15.March.2016
 * Added an admin interface in Appearance > Admin CSS MU.
 * Tested with WordPress 4.5.

#### 1.01

 * Date: 11.April.2016
 * Code updates.
 * Tested with WordPress 4.4.2.
 * Changed the location of custom stylesheet into /wp-content/uploads/admin-css-
   mu/ while preserving the original folder for backward compatiblity with version
   1.0

#### 1.0

 * Date: 25.June.2012
 * First release of the plugin.

## 额外信息

 *  版本 **2.10**
 *  最后更新：**2 年前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/admin-css-mu/) 、 [English (US)](https://wordpress.org/plugins/admin-css-mu/)
   和 [Russian](https://ru.wordpress.org/plugins/admin-css-mu/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/admin-css-mu)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[admin css](https://cn.wordpress.org/plugins/tags/admin-css/)
   [admin interface](https://cn.wordpress.org/plugins/tags/admin-interface/)[custom admin css](https://cn.wordpress.org/plugins/tags/custom-admin-css/)
   [mu plugin](https://cn.wordpress.org/plugins/tags/mu-plugin/)
 *  [高级视图](https://cn.wordpress.org/plugins/admin-css-mu/advanced/)

## 评级

 4.5 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/admin-css-mu/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/admin-css-mu/reviews/)

## 贡献者

 *   [ Arun Basil Lal ](https://profiles.wordpress.org/arunbasillal/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/admin-css-mu/)

## 捐助

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

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