WordPress 4.4 “Clifford” was released on December 8, 2015 and ready for a download. While watching the introduction video I noticed 2 additional columns on the category/tags page which I found very helpful. In addition to name, description, slug and count you can also find
taxonomy icon and color fields. After a little research I found 2 plugins which can accomplish it. We can add icons and colors to the categories, tags, and other taxonomy terms.
To add an icon to your categories and tags using a fancy icon picker:
https://wordpress.org/plugins/wp-term-icons/
To add a color to your categories and tags using a fancy color picker:
https://wordpress.org/plugins/wp-term-colors/
These plugins also require Metadata, for taxonomy terms plugin:
https://wordpress.org/plugins/wp-term-meta/
Improvements in your taxonomy system can help your content be more organized.
Is there any way to retrieve the value of a term color through PHP? The use case for this plugin doesn’t seem to be covered anywhere, which is really frustrating. Please let me know? I am looking for something like get_term_color($post-ID); or something similar…?
Ok, looks like I managed to figure this out. Hope it can help someone else.
get_term_meta ( $category->term_id, ‘color’, true );