Spring naar de inhoud
  • Aanmelden
  • Registreren
WordPress.org

Nederlands (België)

  • Thema's
  • Plugins
  • Nieuws
  • Over
  • Meetups
  • Vertaling
  • Contact
  • Download WordPress
Download WordPress

Plugins

  • Mijn favorieten
  • Beta-testen
  • Ontwikkelaars

Deze plugin is niet getest met de laatste drie grote versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Er kunnen ook compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Download

WP Term Colors

Door John James Jacoby
  • Details
  • Beoordelingen
  • Installatie
  • Ontwikkeling
Ondersteuning

Beschrijving

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

Schermafbeeldingen

  • Category Colors

Installatie

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

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/

Beoordelingen

Doesn’t Work

kshowie 19 juni 2021
Doesn't Work

Great

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

yet another good plugin

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

Works well with WP's new termmeta table

David Cavins 3 september 2016 1 reactie
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.
Lees alle 5 beoordelingen

Bijdragers & ontwikkelaars

“WP Term Colors” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers
  • John James Jacoby
  • Stuttter

Vertaal “WP Term Colors” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

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

  • Versie: 0.1.4
  • Laatst bijgewerkt: 7 jaar geleden
  • Actieve installaties: 1.000+
  • WordPress versie: 4.4 of nieuwer
  • Getest t/m: 4.4.30
  • Taal:
    English (US)
  • Tags:
    colormetametadatataxonomyterm
  • Geavanceerde weergave

Beoordelingen

Bekijk alle
  • 5 sterren 4
  • 4 sterren 0
  • 3 sterren 0
  • 2 sterren 0
  • 1 ster 1
Log in om een beoordeling te versturen.

Bijdragers

  • John James Jacoby
  • Stuttter

Ondersteuning

Opgeloste problemen in de laatste twee maanden:

0 van de 1

Het supportforum bekijken

Doneren

Wil je de groei van deze plugin ondersteunen?

Doneer aan deze plugin

  • Over
  • Nieuws
  • Hosting
  • Doneer
  • Swag
  • Ondersteuning
  • Ontwikkelaars
  • Raak betrokken
  • Leren
  • Showcase
  • Plugins
  • Thema's
  • Patronen
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Publieke code
WordPress.org
WordPress.org

Nederlands (België)

  • Onze Facebookpagina bezoeken
  • Ons Twitteraccount bezoeken
  • Bezoek onze Instagram account
  • Bezoek onze LinkedIn account
Code is Poetry.