WordPress.org

日本語

  • テーマ
  • プラグイン
  • ニュース
    • ドキュメンテーション
    • フォーラム
  • 概要
  • 参加・貢献
  • このサイトについて
  • WordPress を入手
WordPress を入手
WordPress.org

Plugin Directory

WP Term Colors

  • プラグインを申請
  • お気に入り
  • ログイン
  • プラグインを申請
  • お気に入り
  • ログイン

このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの 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

以下もご覧ください

  • 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

スクリーンショット

  • カテゴリーの色

インストール

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

評価

Doesn’t Work

kshowie 2021年6月19日
Doesn’t Work

Great

Lindsey 2019年1月9日
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_ 2017年10月23日
Simple and useful. Working great!

yet another good plugin

mathieu.pellegrin 2017年3月14日
Another good and simple plugin that just does the job.

Works well with WP's new termmeta table

David Cavins 2016年9月3日 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件のレビューをすべて表示

貢献者と開発者

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

  • プラグインをリリース

メタ

  • バージョン 0.1.4
  • 最終更新日 9年前
  • 有効インストール数 900+
  • WordPress バージョン 4.4またはそれ以降
  • 検証済み最新バージョン: 4.4.33
  • 言語
    English (US)
  • タグ
    colormetametadatataxonomyterm
  • 詳細を表示

評価

5つ星中4.2つ星
  • 4 5-星 レビュー 5つ星 4
  • 0 4-星 レビュー 4つ星 0
  • 0 3-星 レビュー 3つ星 0
  • 0 2-星 レビュー 2つ星 0
  • 1 1-星 レビュー 1つ星 1

レビューを追加

すべてのレビューを見る

貢献者

  • John James Jacoby
  • Stuttter

サポート

意見や質問がありますか ?

サポートフォーラムを表示

寄付

このプラグインが今後も改善できるよう応援しませんか ?

このプラグインに寄付

  • WordPress とは
  • ニュース
  • ホスティング
  • プライバシー
  • ショーケース
  • テーマ
  • プラグイン
  • パターン
  • Learn
  • サポート
  • 開発者
  • WordPress.tv ↗
  • 参加・貢献
  • イベント
  • 寄付 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

日本語

  • X (旧 Twitter) アカウントへ
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Facebook ページへ
  • Instagram アカウントへ
  • LinkedIn アカウントへ
  • Visit our TikTok account
  • YouTube チャンネルへ
  • Visit our Tumblr account
Code is Poetry.