外掛說明
使用樣式令人驚艷的新式分類小工具。這個小工具能為分類小工具中的各個分類新增色彩,讓每個分類都擁有專屬色彩。
全部色彩會儲存為分類法詞彙中繼資料變數。
外掛功能
- 支援自訂分類法
- 可以手動為每個分類自訂色彩
- 智慧型自動指派色彩
- 可使用於不同佈景主題
- 易於自訂
- 回應式設計小工具
螢幕擷圖
安裝方式
- 在個人裝置上解壓縮安裝套件。
- 將解壓縮所得的
colorful-categories
目錄上傳至/wp-content/plugins/
目錄。 - 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
- Add a widget to the sidebar on the page ‘Widgets’. You can change widget title, taxonomy, theme and show/hide posts count
- (選用) 在可編輯分類或標籤的頁面,透過 [色彩] 欄位管理要指派的色彩。
常見問題集
-
如何指派新色彩?
-
開啟可以編輯標籤或分類的頁面,並在新增的 [色彩] 欄位中變更色彩。
-
智慧型自動指派色彩的運作方式為何?
-
這個外掛會檢查分類名稱是否包含特定關鍵字,比對符合的話便會為這類分類指派預先定義的色彩。舉例來說,如果分類名稱包含 Facebook,便會指派深藍色給這個分類。
-
如何為指定分類設定色彩?
-
使用 WordPress 預設函式
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 年 2 月 2 日
gefällt mir sehr gut
2019 年 1 月 7 日
Very helpful and simple plugin! Thank you developer.
參與者及開發者
變更記錄
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.