Sari la conținut
  • Autentificare
  • Înregistrare
WordPress.org

În Română

  • Teme
  • Module
  • Știri
  • Suport
  • Despre
  • Evenimente
  • Localizare
  • Dialog
  • Obține WordPress
Obține WordPress

Module

  • Favoritele mele
  • Testare beta
  • Dezvoltatori

Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Descarcă

WP Term Colors

De John James Jacoby
  • Detalii
  • Recenzii
  • Instalare
  • Dezvoltare
Suport

Descriere

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

Capturi ecran

  • Category Colors

Instalare

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

Întrebări frecvente

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'
    ) )
) );
Unde pot primi suport?

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

Unde pot găsi documentație?

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

Verificări

Doesn’t Work

kshowie 19 iunie 2021
Doesn't Work

Great

Lindsey 9 ianuarie 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 octombrie 2017
Simple and useful. Working great!

yet another good plugin

mathieu.pellegrin 14 martie 2017
Another good and simple plugin that just does the job.

Works well with WP's new termmeta table

David Cavins 3 septembrie 2016 1 răspuns
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.
Citește toate cele 5 recenzii

Contributori și dezvoltatori

„WP Term Colors” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori
  • John James Jacoby
  • Stuttter

Tradu „WP Term Colors” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

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

  • Lansare inițială

Meta

  • Versiune: 0.1.4
  • Ultima actualizare: Acum 7 ani
  • Instalări active: 1.000+
  • Versiune WordPress: 4.4 sau mai recentă
  • Testat până la: 4.4.29
  • Limbă:
    English (US)
  • Etichete:
    colormetametadatataxonomyterm
  • Vizualizare avansată

Evaluări

Vezi toate
  • 5 stele 4
  • 4 stele 0
  • 3 stele 0
  • 2 stele 0
  • 1 stea 1
Autentifică-te pentru a trimite un modul la verificare.

Contributori

  • John James Jacoby
  • Stuttter

Suport

Probleme rezolvate în ultimele două luni:

0 din 1

Vezi forumul pentru suport

Donează

Vrei să sprijini dezvoltarea acestui modul?

Donează pentru acest modul

  • Despre
  • Știri
  • Găzduire
  • Donează
  • Cadouri
  • Documentație
  • Dezvoltatori
  • Implică-te
  • Învață
  • Prezentare
  • Module
  • Teme
  • Modele
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Confidențialitate
  • Public Code
WordPress.org
WordPress.org

În Română

  • Vizitează pagina noastră Facebook
  • Vizitează contul nostru Twitter
  • Vizitează-ne pe Instagram
  • Vizitează-ne pe LinkedIn
Codul este poezie.