內容簡介
Category Color Picker 讓使用者為每個 WordPress 類別指定顏色,並自動將該顏色應用於前端的文章列表和類別連結,提升網站的視覺效果和可讀性。
【主要功能】
• 在類別編輯畫面新增顏色選擇器
• 前端自動反映所選顏色
• 根據相對亮度自動調整文字顏色
• 可自訂 CSS 選擇器
• 類別列表中新增「顏色」、「ID」和「Noindex」欄位
• 支援類別的 JSON 匯出/匯入功能
外掛標籤
開發者團隊
原文外掛簡介
Category Color Picker lets you assign a color to each WordPress category and automatically applies that color to post listings and category links on the front end.
Main features
Adds a color picker to the category edit screen
Automatically reflects the chosen color on the front end
Automatic text color adjustment based on relative luminance
Customizable CSS selectors
Adds “Color”, “ID” and “Noindex” columns to the category list
Sortable by the ID column
Per-category noindex setting (applies to the category archive, single posts in that category, and tag/date archives that contain those posts)
JSON export / import of categories (including color and noindex settings)
Category colors output as CSS custom properties (–ccp-color-{slug} / –ccp-contrast-{slug})
Category colors output as JavaScript variables (window.__ccp_color_{slug} and the CCPColors object)
Compatible plugins and themes
VK All in One Expansion Unit
Content Views
General WordPress themes
Any element via custom selectors
Usage
Activate the plugin
Go to Posts > Categories and edit a category
Pick a color with the color picker
Optionally enable the “Noindex” checkbox
Optionally customize selectors under Settings > Category Color
Use the CSS custom properties or JavaScript variables listed on the settings page in your theme
