Colorful Categories

説明

New Categories widget in the awesome style! Bring colours to your categories widget – make every category in own colour.

All colours are stored as term meta variables.

Features:

  • custom taxonomies support
  • manually customize colours for each category
  • intelligent (automatic) colours selection
  • different themes
  • easy to customize
  • responsive and flexible widget

スクリーンショット

  • Categories widget in bubble theme.
  • Categories widget in box theme.
  • Page to manage categories with new column 'Color'.

インストール

  1. Unzip the archive on your computer
  2. Upload colorful-categories directory to the /wp-content/plugins/ directory
  3. WordPress の「プラグイン」メニューからプラグインを有効化
  4. Add widget to the sidebar on the page ‘Widgets’. You can change widget title, taxonomy, theme and show/hide posts count
  5. (optional) Customize colours on the page to manage categories (under the column ‘Color’)

FAQ

Installation Instructions
  1. Unzip the archive on your computer
  2. Upload colorful-categories directory to the /wp-content/plugins/ directory
  3. WordPress の「プラグイン」メニューからプラグインを有効化
  4. Add widget to the sidebar on the page ‘Widgets’. You can change widget title, taxonomy, theme and show/hide posts count
  5. (optional) Customize colours on the page to manage categories (under the column ‘Color’)
How to assign new colour?

Open the page to edit tags or categories and change the colour in the column “Color”.

How does intelligent color selection work?

Plugin do checks if the category name contains one of the key words and set the pre-defined colour for this category.
For example category that contains Facebook will be colored to the dark blue colour.

How to get a color for a specific category?

Use WordPress default function: get_term_meta($term_id, ‘cc_color’, true);

評価

Looks GREAT, but threw a Parse error

Threw an Error upon activation:

Parse error: syntax error, unexpected ‘[‘ in /home/samhughe/public_html/wp/wp-content/plugins/colorful-categories/colorful-categories.php on line 386

Great but where is the category ID?

This is great! However, it seems to have removed the Category ID from the display. This causes problems for other functions that run by selecting category IDs. Please update are restore this!!

7件のレビューをすべて表示

貢献者と開発者

Colorful Categories はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Colorful Categories” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2.0.4

  • Added class “current” to the categories that are currently selected.

2.0.3

  • Updated functionality due to deprecated parameter in the function get_terms().

2.0.2

  • Fixed compatibility with PHP 5.3-.

2.0.1

  • Improved update script.

2.0.0

  • Plugin completely updated to work with the WordPress term meta. All the stored data is moved from the options table to the termmeta table.

1.1.2

Fixed option “Show empty categories” in the widget settings.

1.1.1

  • Compatibility with the latest version of WordPress.

1.1.0

  • Minor improvements and optimization.

1.1.0

  • Fixed issue with the browser cache.
  • Fixed issue with an empty color cell right after the adding of new category/tag.
  • Improved functionality: color will be removed from the database after removing the related term.
  • Small minor improvements.

1.0.6

  • Added a few new filters for better customization.
  • A lot of small improvements, fixes and updates.

1.0.5

  • Added field to limit categories to be displayed for the widget.
  • Fixed field to select theme.

1.0.4

  • Added field to exclude categories from the widget.

1.0.3

  • Fixed colours column.

1.0.2

  • Fixed link to the term (category, tag, etc).

1.0.1

  • Added support for non hierarchical taxonomies.
  • Added customizable message ‘List is empty’ in case if there is nothing to display in the widget.

1.0

  • 最初のリリース。