[WordPress] 外掛分享: Contextual Adminbar Color

首頁外掛目錄 › Contextual Adminbar Color
WordPress 外掛 Contextual Adminbar Color 的封面圖片
500+
安裝啟用
★★★★★
5/5 分(8 則評價)
111 天前
最後更新
問題解決
WordPress 5.4+ PHP 5.6+ v0.3.1 上架:2019-11-24

內容簡介

這個外掛提供了自訂管理列顏色的功能,以區分環境(測試、預產、正式)。使用起來非常容易且開發者友好。
此外,該外掛提供了一個設定畫面,其中包含以下選項:

選擇幾個預定義的顏色方案。
使用網站圖示來更好地區分您的環境。
在管理列中添加自定義消息,例如“生產網站”,“測試版本”或任何您想要的消息。
選擇將看到顏色方案的使用者角色(其他角色將看到預設管理列)。

此外,它還提供了一些您可以在 `wp-config.php` 文件中使用的 PHP 常數(請參閱下面的常見問題)。由於 WordPress 核心可能會在中期淘汰備用管理列顏色方案,因此這個外掛是針對那些依賴顏色來知道是否處於測試、預產或生產環境的人使用的。
最後,提供的所有顏色方案均符合無障礙網頁設計標準!

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Contextual Adminbar Color」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugins provides custom admin bar colors to differentiate environments (staging, preprod, production). It’s really easy to use and developer-friendly.
The plugin provides a settings screen which several options:

choose between several color predefined schemes.
use a favicon to better differentiate your environments in your browser’s tabs.
add a custom message in your admin bar, like “Production website”, “staging version” or whatever your want.
choose the user roles that will see the color scheme (other roles will see the default admin bar).

It also offers few PHP constants you can use in your wp-config.php file (see Frequently Asked Questions below).
Since WordPress Core will probably deprecate alternate admin color schemes in mid-term, this plugin is meant to be use by those who rely on colors to know is they are in staging, preproduction or production environment.
Last but not least, all provided color schemes are accessibility-ready!

文章
Filter
Apply Filters
Mastodon