Colorful Categories

Description

New Categories widget in the awesome style! Bring colours to your categories widget – make every category in its colour.

All colours are stored as term meta variables.

Features:

  • custom taxonomies support
  • manually customize colours for each category
  • intelligent (automatic) colours selection
  • different themes
  • easy to customize
  • responsive and flexible widget

Screenshots

  • Categories widget in bubble theme.
  • Categories widget in box theme.
  • Page to manage categories with new column ‘Color’.

Installation

  1. Unzip the archive on your computer
  2. Upload colorful-categories directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add a widget to the sidebar on the page ‘Widgets’. You can change widget title, taxonomy, theme and show/hide posts count
  5. (optional) Customize colours on the page to manage categories (under the column ‘Color’)

FAQ

How to assign new colour?

Open the page to edit tags or categories and change the colour in the column “Color”.

How does intelligent colour selection work?

The plugin does check if the category name contains one of the keywords and sets the pre-defined colour for this category.
For example, a category that contains Facebook will be coloured to a dark blue colour.

How to get a colour for a specific category?

Use WordPress default function: get_term_meta($term_id, ‘cc_color’, true);

Reviews

December 24, 2023
The default embedding works great with widgets. Can also be used directly in code to color categories from list of posts for example.
November 15, 2023 1 reply
It work nice on themes which support widgets. is there any change to use this functionality as a gutenberg block for those who use 2023 and 2024 themes?
July 3, 2022
This plugin is helper my works. Japanese people is often color for tag and category because we are a culture of color.
May 18, 2022
I really don’t need it but it adds value and color to my site. Easy to use and customizable. Very well done. Thank you!
January 7, 2019
Very helpful and simple plugin! Thank you developer.
Read all 13 reviews

Contributors & Developers

“Colorful Categories” is open source software. The following people have contributed to this plugin.

Contributors

“Colorful Categories” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Colorful Categories” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

2.0.20

  • Tested up to WordPress 6.6.

2.0.19

  • Tested up to WordPress 6.4.

2.0.18

  • WordPress 6.0 support.

2.0.17

  • Fixed a problem with displaying.

2.0.16

  • Improved plugin stability and security.

2.0.15

  • Enhanced security.

2.0.14

  • Minor changes.

2.0.13

  • Fixed colors saving process.
  • WordPress 5.4 support added.

2.0.12

  • Removed column “Color” from the private taxonomies.
  • Small code refactoring.

2.0.11

  • WordPress 5.3 support added.

2.0.10

  • WordPress 5.2 support added.

2.0.9

  • Updated file-header information and readme.txt.

2.0.8

  • Added filter ‘colorful_categories_term_text’.

2.0.7

  • Added action ‘colorful_categories_styles’ to customize the output of theme styles.
  • Small design improvements.

2.0.6

  • Fixed functionality to handle translations.

2.0.5

  • Small backend design improvements.

2.0.4

  • Added class “current” to the categories that are currently selected.

2.0.3

  • Updated functionality due to deprecated parameter in the function get_terms().

2.0.2

  • Fixed compatibility with PHP 5.3-.

2.0.1

  • Improved update script.

2.0.0

  • Plugin completely updated to work with the WordPress term meta. All the stored data is moved from the options table to the terms meta table.

1.1.2

Fixed option “Show empty categories” in the widget settings.

1.1.1

  • Compatibility with the latest version of WordPress.

1.1.0

  • Minor improvements and optimization.

1.1.0

  • Fixed issue with the browser cache.
  • Fixed issue with an empty colour cell right after the adding of a new category/tag.
  • Improved functionality: the colour will be removed from the database after removing the related term.
  • Small minor improvements.

1.0.6

  • Added a few new filters for better customization.
  • A lot of small improvements, fixes and updates.

1.0.5

  • Added field to limit categories to be displayed for the widget.
  • Fixed field to select a theme.

1.0.4

  • Added field to exclude categories from the widget.

1.0.3

  • Fixed colours column.

1.0.2

  • Fixed link to the term (category, tag, etc).

1.0.1

  • Added support for non-hierarchical taxonomies.
  • Added customizable message ‘List is empty’ in case there is nothing to display in the widget.

1.0

  • Initial release.