前言介紹
- 這款 WordPress 外掛「Add Admin CSS」是 2011-12-04 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2021-05-31,距離現在已有 1434 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.9 以上版本才可以安裝。
- 有 35 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
css | admin | style | admin theme | stylesheets |
內容簡介
想要透過隱藏、移動、改變字體、顏色、大小等方法調整 WordPress 管理頁面的外觀嗎?透過這個外掛,您可以輕鬆地定義額外的 CSS(包括行內 CSS 和來自 URL 的 CSS 檔案),以便在所有管理頁面上加入。您可以定義顯示在管理頁面 head 標籤中的行內 CSS(在 style 標籤中),或是參照 CSS 檔案進行連結(透過「link rel='stylesheet'」標籤)。這些 CSS 檔案會首先顯示在管理頁面 head 標籤中,並按照外掛設定中所定義的順序進行排序。然後加入任何行內 CSS。這兩個值都可以進行進階自訂(請參閱進階部分)。
連結:外掛首頁 | 外掛目錄頁面 | GitHub | 作者首頁
鉤子(Hooks)
本外掛提供兩個用於掛鉤的過濾器。通常,使用過濾器的程式碼最好放在 mu-plugin 或特定網站的外掛中(這不在本自述檔範圍之內)。請注意,這些過濾器控制的功能也可以透過外掛設定頁進行設置。這些過濾器可能只對能夠編寫的進階用戶有興趣。
c2c_add_admin_css(過濾器)
“c2c_add_admin_css”過濾器允許自定義 CSS,以直接添加到管理頁面 head。
參數:
$css(字串):CSS 樣式。
範例:
/**
* 添加 CSS 到管理頁面。
*
* @param string $css 要添加到管理頁面的字串。
* @return string
*/
function my_admin_css( $css ) {
$css .= "
#site-heading a span { color:blue !important; }
#favorite-actions { display:none; }
";
return $css;
}
add_filter( 'c2c_add_admin_css', 'my_admin_css' );
c2c_add_admin_css_files(過濾器)
“c2c_add_admin_css_files”過濾器允許以編程方式修改要在管理中排隊的 CSS 文件列表。
參數:
$files(數組):CSS 文件的數組。
範例:
/**
* 添加 CSS 文件到管理頁面。
*
* @param array $files 要添加到管理頁面的 CSS 檔案。
* @return array
*/
function my_admin_css_files( $files ) {
$files[] = 'http://yui.yahooapis.com/2.9.0/build/reset/reset-min.css';
return $files;
}
add_filter( 'c2c_add_admin_css_files', 'my_admin_css_files' );
原文外掛簡介
Ever want to tweak the appearance of the WordPress admin pages by hiding stuff, moving stuff around, changing fonts, colors, sizes, etc? Any modification you may want to do with CSS can easily be done via this plugin.
Using this plugin you’ll easily be able to define additional CSS (inline and/or files by URL) to be added to all administration pages. You can define CSS to appear inline in the admin head (within style tags), or reference CSS files to be linked (via “link rel=’stylesheet'” tags). The referenced CSS files will appear in the admin head first, listed in the order defined in the plugin’s settings. Then any inline CSS are added to the admin head. Both values can be filtered for advanced customization (see Advanced section).
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
Hooks
The plugin exposes two filters for hooking. Typically, code making use of filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain). Bear in mind that the features controlled by these filters are also configurable via the plugin’s settings page. These filters are likely only of interest to advanced users able to code.
c2c_add_admin_css (filter)
The ‘c2c_add_admin_css’ filter allows customization of CSS that should be added directly to the admin page head.
Arguments:
$css (string): CSS styles.
Example:
/**
* Add CSS to admin pages.
*
* @param string $css String to be added to admin pages.
* @return string
*/
function my_admin_css( $css ) {
$css .= "
#site-heading a span { color:blue !important; }
#favorite-actions { display:none; }
";
return $css;
}
add_filter( 'c2c_add_admin_css', 'my_admin_css' );
c2c_add_admin_css_files (filter)
The ‘c2c_add_admin_css_files’ filter allows programmatic modification of the list of CSS files to enqueue in the admin.
Arguments:
$files (array): Array of CSS files.
Example:
/**
* Add CSS file(s) to admin pages.
*
* @param array $files CSS files to be added to admin pages.
* @return array
*/
function my_admin_css_files( $files ) {
$files[] = 'http://yui.yahooapis.com/2.9.0/build/reset/reset-min.css';
return $files;
}
add_filter( 'c2c_add_admin_css_files', 'my_admin_css_files' );
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Add Admin CSS」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.1 | 1.2 | 1.3 | 1.4 | 1.6 | 1.7 | 1.8 | 1.9 | 2.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 1.9.1 | 2.0.1 | trunk |
延伸相關外掛(你可能也想知道)
UiPress lite | Effortless custom dashboards, admin themes and pages 》UiPress 是一個完整的解決方案,可定制您的 WordPress 管理員使用體驗。, 從自定義控制台、個人資料頁面到整個管理員框架,uiBuilder 可以應有盡有。預製的直...。
Slate Admin Theme 》Slate 為您的 WordPress 管理區提供乾淨、簡潔的設計。, 我們的目標是簡化視覺設計,並將重點放在內容撰寫體驗上。, 如果您喜歡 Slate ,請考慮在 WordPress ...。
Aquila Admin Theme 》一個受 Material Design 啟發、可自訂色彩主題並重新設計 WordPress 管理後台(從 v4.0 開始)。Aquila 並且去除了給最終使用者造成不必要或潛在困惑的項目。...。
Kodeo Admin UI 》Kodeo Admin UI 將您的 WordPress 後台轉換為乾淨且現代的使用者介面。, 所有元素都經過精心設計和排列,提供最佳的使用者體驗。, 如果您想要回報問題或是提...。
Fancy Admin UI 》WordPress 的管理介面主題非常好用,但是我們想更進一步。我們提供了一個乾淨的藍灰色預設主題,為用戶簡化界面,使界面更易於操作。您可以通過訪問「設置」>...。
Add Admin JavaScript 》此外掛提供了新增自訂動態功能至 WordPress 管理員頁面及應用 JavaScript 的能力。您可以透過此插件輕易地定義要新增到所有管理員頁面中的 JavaScript,包含...。
WpRedesigned – Beautiful Custom Admin Theme 》讓您的 WordPress 管理員介面更美觀 🙂 不需要設定,只需啟用並享受一個嶄新的 WordPress 管理員體驗!。
WordPress Backend Customizer – Everest Admin Theme Lite 》Everest Admin Theme Lite是一個完美的免費WordPress外掛,可使您的WordPress網站管理儀表板看起來不像WordPress。雖然WordPress本身很棒,但你可能希望將WP...。
Backend Designer 》Backend Designer 外掛可以讓你輕鬆地為 WordPress 管理面板創建自己的色彩方案,並即時預覽效果。你可以自訂登入畫面,上傳自己的標誌,並選擇喜愛的配色方...。
Dashify: WooCommerce admin dashboard theme 》- Dashify 是一個針對 WooCommerce 訂單的外掛,讓訂單管理界面更易於操作且更美觀。, - Orders table 功能:, - 訂單狀態顯示大且易於點擊, - 當至少選...。
Clean WP Admin Theme – Simple design 》這個外掛能打造 WP 後臺的美觀風格,讓使用者可以輕鬆簡化介面,使 WP 後臺看起來更簡潔明瞭。, 只要安裝此外掛,美化介面將自動完成。, 若不滿意預設的主題...。
Colorize Admin 》這是一個簡單的外掛程式,可以讓你的 WordPress 管理面板佈景主題更加美觀,讓你的工作更愉悅。使用不同的顏色主題,可以改善您的工作環境,使 WordPress 管...。
WPShapere Lite 》WPShapere WordPress 管理介面主題是 WordPress 的外掛及一個強大的工具,可自訂你的 WordPress 管理介面。它完全可將 WordPress 管理區塊變成白牌。使用 WPS...。
Ultimo WP 》你已經厭倦了 WordPress 3.8 的外觀嗎?, 你是否希望能夠更改和個性化,甚至可以白標 WordPress 儀表板上的一些標誌?, 注意:我們正式回到支援這個外掛,所...。
Easy Backend-Style 》這個 WordPress 外掛可以讓您輕鬆自訂 WordPress 後台的顏色。您可以透過預先設定的欄位或自訂 CSS 進行更改。, 路線圖, , [ ] 即時預覽更改, [ ] 考慮更多功...。