چھوڑو تے مواد تے ون٘ڄو
WordPress.org

سرائیکی

  • تھیم
  • پلڳ ان
  • بارے
  • ورڈپریس گھن گھنو
ورڈپریس گھن گھنو
WordPress.org

Plugin Directory

WP Term Colors

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

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.

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

No. Not since WordPress 4.4.

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://developer.wordpress.org/reference/classes/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?

https://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 reply
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 ریویو پڑھو

Contributors & Developers

“WP Term Colors” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے
  • John James Jacoby
  • Stuttter

“WP Term Colors” has been translated into 1 locale. Thank you to the translators for their contributions.

“WP Term Colors&#8221 دا آپݨی زبان وچ ترجمہ کرو۔

ڈیویلپمنٹ وچ دلچسپی ہے؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

تبدیلی لاگ

2.0.1

  • Load installed plugin language packs before translated labels are initialized

2.0.0

  • Remove the WP Term Meta dependency by using term metadata built into WordPress 4.4 and newer
  • Initialize after custom taxonomies are registered
  • Add color-picker styling and improve quick-edit behavior
  • Keep uncolored terms visible when sorting the term list by color
  • Preserve metadata callback compatibility with WordPress 4.4

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

میٹا

  • Version 2.0.1
  • Last updated 1 مہینہ پہلے
  • Active installations 700+
  • WordPress version 4.4 یا ودھ
  • Tested up to 7.1.4
  • PHP version 5.6.20 یا ودھ
  • Languages

    English (US) تے Japanese.

    آپݨی زبان وچ ترجمہ کرو

  • Tags
    colormetametadatataxonomyterm
  • اعلیٰ منظر

ریٹنگ

5 ستاریاں وچوں 4.2
  • 4 5 ستارہ جائزے 5 تارے 4
  • 0 4 ستارہ جائزے 4 تارے 0
  • 0 3 ستارہ جائزے 3 تارے 0
  • 0 2 ستارہ جائزے 2 تارے 0
  • 1 1 ستارہ جائزہ 1 تارہ 1

Your review

See all reviews

حصہ پاوݨ آلے

  • John James Jacoby
  • Stuttter

معاونت

Got something to say? Need help?

معاونت فورم ݙیکھو

عطیہ کرو

Would you like to support the advancement of this plugin?

ایں پلگ ان کوں عطیہ ݙیوو

  • تعارف
  • خبراں
  • ہوسٹ کرݨ
  • رازداری
  • شوکیس
  • تھیم
  • پلاگنز
  • نمونے
  • سکھو
  • معاونت
  • ڈویلپرز
  • WordPress.tv ↗
  • نال شامل تھیوو
  • واقعات
  • عطیہ ݙیوو ↖
  • سواگ ↖
  • WordPress.com ↗
  • Matt ↗
  • بی‌بی‌پرس ↖
  • BuddyPress ↗
WordPress.org

سرائیکی

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • ساݙا ایکس (پہلے ٹوئٹر) اکاؤنٹ ݙیکھو
  • ساݙا Bluesky اکاؤنٹ ݙیکھو
  • ساݙا Mastodon اکاؤنٹ ݙیکھو
  • ساݙا Threads اکاؤنٹ ݙیکھو
  • ساݙا Facebook صفحہ ݙیکھو
  • ساݙا Instagram اکاؤنٹ ݙیکھو
  • ساݙا LinkedIn اکاؤنٹ ݙیکھو
  • ساݙا TikTok اکاؤنٹ ݙیکھو
  • ساݙا YouTube چینل ݙیکھو
  • ساݙا Tumblr اکاؤنٹ ݙیکھو
کوڈ شاعری ہے