WordPress.org

Ελληνικά

  • Θέματα
  • Πρόσθετα
  • Νέα
  • Υποστήριξη
  • Σχετικά
  • Ελληνική κοινότητα
  • Εκδηλώσεις
  • Openverse
  • Κατάλογος μοτίβων
  • Λήψη WordPress
Λήψη WordPress
WordPress.org

Plugin Directory

WP Term Colors

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

WP Term Colors

Από John James Jacoby
Λήψη
  • Λεπτομέρειες
  • Κριτικές
  • Εγκατάσταση
  • Ανάπτυξη
Υποστήριξη

Περιγραφή

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

Στιγμιότυπα

  • Category Colors

Εγκατάσταση

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

Συχνές Ερωτήσεις

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/

Πού μπορώ να βρω την τεκμηρίωση;

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

Κριτικές

Doesn’t Work

kshowie 19 Ιουνίου 2021
Doesn’t Work

Great

Lindsey 9 Ιανουαρίου 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 Οκτωβρίου 2017
Simple and useful. Working great!

yet another good plugin

mathieu.pellegrin 14 Μαρτίου 2017
Another good and simple plugin that just does the job.

Works well with WP's new termmeta table

David Cavins 3 Σεπτεμβρίου 2016 1 απάντηση
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.
Ανάγνωση όλων των 5 κριτικών

Συνεισφέροντες & Προγραμματιστές

“WP Term Colors” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές
  • John James Jacoby
  • Stuttter

Μεταφράστε το “WP Term Colors” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

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

  • Αρχική έκδοση

Μεταστοιχεία

  • Version 0.1.4
  • Τελευταία ενημέρωση: πριν από 9 έτη
  • Ενεργές εγκαταστάσεις: 900+
  • Έκδοση WordPress: 4.4 ή νεότερη
  • Δοκιμασμένο μέχρι: 4.4.33
  • Language
    English (US)
  • Ετικέτες:
    colormetametadatataxonomyterm
  • Σύνθετη Προβολή

Αξιολογήσεις

4.2 out of 5 stars.
  • 4 5-star reviews 5 stars 4
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 1 1-star review 1 star 1

Προσθήκη της κριτικής μου

Δείτε όλες τις κριτικές

Συντελεστές

  • John James Jacoby
  • Stuttter

Υποστήριξη

Έχετε κάτι να πείτε; Χρειάζεστε βοήθεια;

Φόρουμ υποστήριξης

Δωρεά

Θα θέλατε να υποστηρίξετε την προαγωγή αυτού του πρόσθετου;

Κάντε δωρεά σε αυτό το πρόσθετο

  • Σχετικά
  • Ειδήσεις
  • Φιλοξενία
  • Απόρρητο
  • Βιτρίνα
  • Θέματα
  • Πρόσθετα
  • Μοτίβα
  • Μάθετε
  • Υποστήριξη
  • Προγραμματιστές
  • WordPress.TV
  • Συμμετέχετε
  • Εκδηλώσεις
  • Δωρίστε
  • Πέντε για το Μέλλον
  • WordPress.com
  • Matt
  • bbPress
  • BuddyPress
WordPress.org
WordPress.org

Ελληνικά

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Επισκεφθείτε τον λογαριασμό μας στο Mastodon
  • Visit our Threads account
  • Επισκεφτείτε τη σελίδα μας στο Facebook
  • Επισκεφθείτε τον λογαριασμό μας Instagram
  • Επισκεφθείτε τον λογαριασμό μας LinkedIn
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Ο κώδικας είναι ποίηση.