Colorful Categories

설명

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

스크린샷

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

설치

  1. Unzip the archive on your computer
  2. Upload colorful-categories directory to the /wp-content/plugins/ directory
  3. 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);

후기

2023년 12월 24일
The default embedding works great with widgets. Can also be used directly in code to color categories from list of posts for example.
2023년 11월 15일 답글 1개
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?
2022년 7월 3일
This plugin is helper my works. Japanese people is often color for tag and category because we are a culture of color.
2022년 5월 18일
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!
2019년 1월 7일
Very helpful and simple plugin! Thank you developer.
모든 13 평가 읽기

기여자 & 개발자

“Colorful Categories”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Colorful Categories”(이)가 2 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Colorful Categories”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.