Апісанне
Category Colours adds a per-category colour picker and applies those colours sitewide wherever categories are displayed.
It also includes optional category name case tools (categories only):
* Force display case (without changing the database)
* Normalize existing categories in the database
* Optional auto-apply on category create/edit
* Bulk actions on Posts Categories
Features
- Per-category colour (picker + hex + clear/default)
- Applies sitewide wherever categories appear (links, blocks, lists, etc.)
- Styling options:
- Pill style
- Background tint
- Underline
- Pill gap (tight/normal/roomy)
- Border thickness (thin/normal/thick)
- Pill shape (pill/rounded/square)
- Category name case options (no exceptions list):
- Storage case style (used by normalization tools)
- Normalize all existing categories button
- Bulk normalize selected categories
- Force display case sitewide
- Auto-apply on create/edit (optional)
Ўсталёўка
- Upload the plugin folder to /wp-content/plugins/ or install via the Plugins screen.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Configure options under Posts Categories.
- Edit categories under Posts Categories to set colours.
Часта задаваныя пытанні
-
Does this change my theme files?
-
No. The plugin injects minimal front-end CSS and uses WordPress filters to apply colour/case where categories are rendered.
-
What does “Force display case” do?
-
It changes how category names appear on the site (front-end) without changing what’s stored in the database.
-
What does “Normalize all existing categories” do?
-
It updates category names in the database to match the selected Storage case style. This may merge categories if two names become identical after normalization.
-
Can I undo normalization?
-
Not automatically. Consider exporting a backup before normalization if you have many categories.
Водгукі
На гэты плагін няма водгукаў.
Удзельнікі і распрацоўшчыкі
“Half Baked Category Colours” is open source software. The following people have contributed to this plugin.
УдзельнікіПеракласці “Half Baked Category Colours” на вашу мову.
Зацікаўлены ў распрацоўцы?
Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.
Журнал змяненняў
1.1.10
- Fix: child category colour inheritance now applies everywhere categories are rendered (including per-post category links and category lists).
1.1.9
- Child categories now inherit the first available parent category colour when no colour is set.
1.1.8
- Fix: per-category colours now apply reliably even when the theme output does not include term ID classes on category links.
1.1.7
- Fix: pill styling now renders even when no global default colour is set (uses theme link colour via currentColor fallback).
1.1.6
- Fix: front-end pill/tint CSS now reliably loads by using a src-less enqueued stylesheet handle (inline-only), restoring pill styling on the front end.
1.1.5
- Ensure pill styling applies even when a category has no colour set.
- Case formatting and normalization include the default category (Uncategorized).
1.1.4
- Added a Categories list column showing a colour swatch.
- Added Quick Edit support (colour picker + hex field) for categories.
1.1.3
- Settings link now goes to Posts Categories.
- Added inline settings panel on the Categories screen.
1.1.0
- Added category name case tools: force display case, normalize all, bulk actions, and auto-apply on create/edit (categories only).
- Kept colour styling options unchanged.
1.0.5
- Styling options and Settings link improvements.