[WordPress] 外掛分享: Category Color Picker

首頁外掛目錄 › Category Color Picker
50+
安裝啟用
尚無評分
23 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.3.1 上架:2025-06-19

內容簡介

Category Color Picker 讓使用者為每個 WordPress 類別指定顏色,並自動將該顏色應用於前端的文章列表和類別連結,提升網站的視覺效果和可讀性。

【主要功能】
• 在類別編輯畫面新增顏色選擇器
• 前端自動反映所選顏色
• 根據相對亮度自動調整文字顏色
• 可自訂 CSS 選擇器
• 類別列表中新增「顏色」、「ID」和「Noindex」欄位
• 支援類別的 JSON 匯出/匯入功能

外掛標籤

開發者團隊

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

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

原文外掛簡介

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

延伸相關外掛

文章
Filter
Mastodon