Pretty colors for categories, tags, and other taxonomy terms
Pretty colors for categories, tags, and other taxonomy terms
WP Term Colors allows users to assign colors to any visible category, tag, or taxonomy term using a fancy color picker, providing a customized look for their taxonomies.
This plugin requires WP Term Meta
Yes. Please install the WP Term Meta plugin.
No. There are no new database tables with this plugin.
No. All of WordPress’s core database tables remain untouched.
With WordPress’s get_terms()
function, the same as usual, but with an additional meta_query
argument according the WP_Meta_Query
specification:
https://codex.wordpress.org/Class_Reference/WP_Meta_Query
$terms = get_terms( 'category', array( 'depth' => 1, 'number' => 100, 'parent' => 0, 'hide_empty' => false, // Query by color 'meta_query' => array( array( 'key' => 'color', 'value' => '#c0ffee' ) ) ) );
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-colors/
http://github.com/stuttter/wp-term-colors/