{"id":236289,"date":"2025-06-20T05:51:56","date_gmt":"2025-06-20T05:51:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/category-color-picker\/"},"modified":"2026-06-05T01:50:34","modified_gmt":"2026-06-05T01:50:34","slug":"category-color-picker","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/category-color-picker\/","author":23302175,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Category Color Picker","header_author":"sarap422","header_description":"Add a color picker to categories and reflect category colors in post listings and other selectors.","assets_banners_color":"","last_updated":"2026-06-05 01:50:34","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":20,"downloads":633,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"sarap422","date":"2025-06-20 05:52:18"},"1.0.4":{"tag":"1.0.4","author":"sarap422","date":"2025-06-20 08:14:22"},"1.0.5":{"tag":"1.0.5","author":"sarap422","date":"2025-06-27 05:27:10"},"1.0.6":{"tag":"1.0.6","author":"sarap422","date":"2025-07-03 01:16:16"},"1.2.0":{"tag":"1.2.0","author":"sarap422","date":"2026-06-05 01:50:34"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3","1.0.4","1.0.5","1.0.6","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3561730,"resolution":"1","location":"assets","locale":"","width":1180,"height":554},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3561730,"resolution":"2","location":"assets","locale":"","width":1180,"height":554},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3561730,"resolution":"3","location":"assets","locale":"","width":1180,"height":554},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3561730,"resolution":"4","location":"assets","locale":"","width":1180,"height":554}},"screenshots":{"1":"Color picker and noindex setting on the category edit screen","2":"Color, ID and Noindex columns in the category list","3":"Selector settings screen","4":"Category colors reflected on the front end"}},"plugin_section":[],"plugin_tags":[89,1257,6364,2262,2304],"plugin_category":[59],"plugin_contributors":[243834],"plugin_business_model":[],"class_list":["post-236289","plugin","type-plugin","status-publish","hentry","plugin_tags-category","plugin_tags-color","plugin_tags-noindex","plugin_tags-picker","plugin_tags-styling","plugin_category-utilities-and-tools","plugin_contributors-sarap422","plugin_committers-sarap422"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/category-color-picker.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/category-color-picker\/assets\/screenshot-1.png?rev=3561730","caption":"Color picker and noindex setting on the category edit screen"},{"src":"https:\/\/ps.w.org\/category-color-picker\/assets\/screenshot-2.png?rev=3561730","caption":"Color, ID and Noindex columns in the category list"},{"src":"https:\/\/ps.w.org\/category-color-picker\/assets\/screenshot-3.png?rev=3561730","caption":"Selector settings screen"},{"src":"https:\/\/ps.w.org\/category-color-picker\/assets\/screenshot-4.png?rev=3561730","caption":"Category colors reflected on the front end"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Main features<\/h4>\n\n<ul>\n<li>Adds a color picker to the category edit screen<\/li>\n<li>Automatically reflects the chosen color on the front end<\/li>\n<li>Automatic text color adjustment based on relative luminance<\/li>\n<li>Customizable CSS selectors<\/li>\n<li>Adds \"Color\", \"ID\" and \"Noindex\" columns to the category list<\/li>\n<li>Sortable by the ID column<\/li>\n<li>Per-category noindex setting (applies to the category archive, single posts in that category, and tag\/date archives that contain those posts)<\/li>\n<li>JSON export \/ import of categories (including color and noindex settings)<\/li>\n<\/ul>\n\n<h4>Compatible plugins and themes<\/h4>\n\n<ul>\n<li>VK All in One Expansion Unit<\/li>\n<li>Content Views<\/li>\n<li>General WordPress themes<\/li>\n<li>Any element via custom selectors<\/li>\n<\/ul>\n\n<h4>Usage<\/h4>\n\n<ol>\n<li>Activate the plugin<\/li>\n<li>Go to Posts &gt; Categories and edit a category<\/li>\n<li>Pick a color with the color picker<\/li>\n<li>Optionally enable the \"Noindex\" checkbox<\/li>\n<li>Optionally customize selectors under Settings &gt; Category Color<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/category-color-picker<\/code> directory<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress<\/li>\n<li>Set the color and noindex for each category under Posts &gt; Categories<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20any%20theme%3F\"><h3>Does it work with any theme?<\/h3><\/dt>\n<dd><p>Yes. It works with any theme that uses the standard WordPress category output. With custom selectors, it can also support specific themes and plugins.<\/p><\/dd>\n<dt id=\"can%20it%20replace%20vk%20all%20in%20one%20expansion%20unit%3F\"><h3>Can it replace VK All in One Expansion Unit?<\/h3><\/dt>\n<dd><p>Yes. It can be used as an alternative to the category color feature of VK All in One Expansion Unit, with more flexible selector settings.<\/p><\/dd>\n<dt id=\"can%20i%20customize%20the%20selectors%3F\"><h3>Can I customize the selectors?<\/h3><\/dt>\n<dd><p>Yes. You can freely set CSS selectors under Settings &gt; Category Color.<\/p><\/dd>\n<dt id=\"which%20pages%20does%20noindex%20apply%20to%3F\"><h3>Which pages does noindex apply to?<\/h3><\/dt>\n<dd><p>It outputs <code>&lt;meta name=\"robots\" content=\"noindex\" \/&gt;<\/code> on the category archive page, single posts belonging to that category, and tag\/date archive pages that contain posts in the target category.<\/p><\/dd>\n<dt id=\"where%20can%20i%20check%20the%20noindex%20setting%3F\"><h3>Where can I check the noindex setting?<\/h3><\/dt>\n<dd><p>You can check it in the \"Noindex\" column of the category list. Categories with the setting enabled show \"noindex\" in red.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added JSON export \/ import for categories (buttons placed at the top right of the category list screen)<\/li>\n<li>Export covers all categories (name, slug, parent, description, color, noindex)<\/li>\n<li>Import resolves categories by slug; for existing categories only color and noindex are overwritten, missing categories are created<\/li>\n<li>Separated logic into includes\/ (pure logic is unit tested)<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added \"ID\" and \"Noindex\" columns to the category list<\/li>\n<li>Reordered columns to Name, Slug, Color, Description, Count, ID, Noindex<\/li>\n<li>Made the ID column sortable<\/li>\n<li>Added noindex feature (outputs meta robots noindex per category)<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Excluded tags from the target<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Switched to wp_enqueue_style() for CSS output (Plugin Check compliance)<\/li>\n<li>Adjusted the text color luminance threshold to 0.6 for better readability<\/li>\n<li>Translated plugin descriptions and messages into Japanese<\/li>\n<li>Code optimization and compliance with WordPress standards<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Bug fixes and stability improvements<\/li>\n<li>Improved CSS selector handling<\/li>\n<li>Improved error handling<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Color picker integration<\/li>\n<li>Automatic text color adjustment<\/li>\n<li>Customizable CSS selectors<\/li>\n<\/ul>","raw_excerpt":"Add a color picker to WordPress categories and reflect category colors in post listings and links. Includes per-category noindex settings.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/236289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=236289"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sarap422"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=236289"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=236289"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=236289"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=236289"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=236289"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=236289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}