WordPress.org

Galego

  • Temas
  • Plugins
  • Novas
  • Acerca de
  • Padróns
  • Colabora
  • Equipo
  • Meetups
  • Contacto
  • Homenaxes
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

WP Term Colors

  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión
  • Enviar un plugin
  • Os meus favoritos
  • Iniciar sesión

Este plugin non se actualizou en máis de 2 anos. É posible que xa non sexa compatible ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con novas versións de WordPress.

WP Term Colors

Por John James Jacoby
Descargar
  • Detalles
  • Valoracións
  • Instalación
  • Desenvolvemento
Soporte

Descrición

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.

Dependencies

This plugin requires WP Term Meta

Also checkout

  • WP Chosen
  • WP Pretty Filters
  • WP Event Calendar
  • WP Media Categories
  • WP Term Order
  • WP Term Authors
  • WP Term Colors
  • WP Term Icons
  • WP Term Visibility
  • WP User Activity
  • WP User Avatars
  • WP User Groups
  • WP User Profiles

Capturas

  • Categoría cores

Instalación

  • 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.

Preguntas frecuentes

Does this plugin depend on any others?

Yes. Please install the WP Term Meta plugin.

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.

How do I query for terms via their colors?

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'
    ) )
) );
Where can I get support?

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

Where can I find documentation?

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

Comentarios

Doesn’t Work

kshowie 19 de Xuño, 2021
Doesn’t Work

Great

Lindsey 9 de Xaneiro, 2019
This plugin still work great. I use it all the time as it’s an easy to add option for client’s when they need to color code taxonomies. It even works great with Timber themes. You can easily add it to your templates in PHP using David Cavins’ example. If you are using a theme that is utilizing twig/Timber, you can grab the color in your for loop as easy as: {{ term.meta('color') }};

Works!

acrashik_ 23 de Outubro, 2017
Simple and useful. Working great!

yet another good plugin

mathieu.pellegrin 14 de Marzo, 2017
Another good and simple plugin that just does the job.

Works well with WP's new termmeta table

David Cavins 3 de Setembro, 2016 1 resposta
I needed to save colors for terms, and found that @jjj had already done the work. Accessing the saved colors is pretty straightforward using the new (WP 4.4 or newer) built-in utility function: $color = get_term_meta( $term_id, 'color', true ); The terms are saved in hex format (#eeee22) so are ready to use once retrieved. Thanks @jjj.
Ler todas as 5 opinións

Colaboradores e desenvolvedores

“WP Term Colors” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores
  • John James Jacoby
  • Stuttter

Traduce “WP Term Colors” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

0.2.0

  • Update base class

0.1.4

  • Update textdomain
  • Update headers & meta

0.1.3

  • Updated metadata UI class

0.1.1

  • Updated form field classes

0.1.0

  • Initial release

Meta

  • Versión 0.1.4
  • Última actualización Fai 9 anos
  • Instalacións activas 900+
  • Versión de WordPress 4.4 ou superior
  • Probado ata 4.4.33
  • Idioma
    English (US)
  • Etiquetas
    colormetametadatataxonomyterm
  • Vista avanzada

Valoracións

4.2 de 5 estrelas
  • Valoración de 4 5 estrelas 5 estrelas 4
  • Valoración de 0 4 estrelas 4 estrelas 0
  • Valoración de 0 3 estrelas 3 estrelas 0
  • Valoración de 0 2 estrelas 2 estrelas 0
  • Valoración de 1 1 estrela 1 estrela 1

Engadir a miña recensión

Ver todas as valoracións

Colaboradores

  • John James Jacoby
  • Stuttter

Soporte

Tes algo que dicir? Necesitas axuda?

Ver o foro de soporte

Doar

Queres apoiar o progreso deste plugin?

Dona a este plugin

  • Acerca de
  • Novas
  • Aloxamento
  • Privacidade
  • Escaparate
  • Temas
  • Plugins
  • Padróns
  • Aprender
  • Soporte
  • Desenvolvedores
  • WordPress.TV ↗
  • Involúcrate
  • Eventos
  • Doar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Galego

  • Visita la cuenta de X (anteriormente Twitter)
  • Visit our Bluesky account
  • Visita a nosa conta de Mastodon
  • Visit our Threads account
  • Visita a nosa páxina de Facebook
  • Visita a nosa conta de Instagram
  • Visita a nosa conta de LinkedIn
  • Visit our TikTok account
  • Visita a nosa canle de YouTube
  • Visit our Tumblr account
O código é poesía.