Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stuttter/wp-term-colors

Pretty colors for categories, tags, and other taxonomy terms
https://github.com/stuttter/wp-term-colors

colors meta terms wordpress

Last synced: 6 days ago
JSON representation

Pretty colors for categories, tags, and other taxonomy terms

Awesome Lists containing this project

README

        

# WP Term Colors

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 taxonomy terms.

# Installation

* Download and install using the built in WordPress plugin installer.
* Activate in the "Plugins" area of your admin by clicking the "Activate" link.
* No further setup or configuration is necessary.

# FAQ

### Does this plugin depend on any others?

Not since WordPress 4.4.

Install the [WP Term Meta](https://wordpress.org/plugins/wp-term-meta/ "Metadata, for taxonomy terms.") plugin if you're on an earlier version.

### Does this create new database tables?

No. There are no new database tables with this plugin.

### Does this modify existing database tables?

No. All of WordPress's core database tables remain untouched.

### Can I query for terms by their `color`?

Yes. Use a `meta_query` like:

```
$terms = get_terms( 'category', array(
'depth' => 1,
'number' => 100,
'parent' => 0,
'hide_empty' => false,

// Query by color using the "wp-term-meta" plugin!
'meta_query' => array( array(
'key' => 'color',
'value' => '#c0ffee'
) )
) );
```

### Where can I get support?

The WordPress support forums: https://wordpress.org/support/plugin/wp-term-colors/

### Can I contribute?

Yes, please! The number of users needing more robust taxonomy visuals is growing fast. Having an easy-to-use UI and powerful set of functions is critical to managing complex WordPress installations. If this is your thing, please help us out!