このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

WP Multiple Taxonomy Images

説明

The WP Multiple Taxonomy Images Plugin allows you to add multiple images to a term.
It supports category, tags and custom taxonomies. Terms can have a different number
of images.

  • Works with custom categories, tags, and custom taxonomies.
  • Multiple images per term.
  • Number of images can be changed individually for each term.
  • Thumbnails overview in the term list.
  • Images can be changed when editing terms.
  • A simple settings page allows you to exclude certain taxonomies.

Usage

  1. Use <?php if (function_exists('get_tax_image_urls')) $img_urls = get_tax_image_urls($term_id ,'full'); ?> to get an array of all image URLs.
  2. Use <?php if (function_exists('get_tax_images')) $img_html = get_tax_images($term_id ,'full'); ?> to get all images as HTML img-tags.
  3. Use <?php if (function_exists('get_tax_image_metadata')) $img_html = get_tax_image_metadata($term_id); ?> to get an array of every image metadata.
    Each array entry has an object, which corresponds to the return value of wp_get_attachment_metadata() for each single image.

If you do not know the $term_id of the current term in your category/taxonomy template, then you
can query it with the following command:
$tax_obj = get_queried_object();
$term_id = $tax_obj->term_id;

スクリーンショット

  • Images can be added via the media box when creating a new tag/category (custom term).
  • You can add or remove as many images you want per term.
  • All images are shown as thumbnails.
  • When editing the terms, one can still change images or the number of images.
  • A simple settings page allows you to exclude taxonomies.

インストール

You can install WP Multiple Taxonomy Images from the WordPress admin panel:

  1. Visit the Plugins > Add New and search for ‘WP Multiple Taxonomy Images’.
  2. Click to install.
  3. Once installed, activate and it is functional.

OR

Manual Installation:

  1. Download the plugin, then extract it.
  2. Upload wp-multiple-taxonomy-images extracted folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

No questions yet. Please feel free to ask questions.

評価

2017年4月17日
This is a very good plugun. Thankyou for your work! Five stars 🙂
2016年9月3日
Good plugin, requires however a bit of programming skills for embedding.
2件のレビューをすべて表示

貢献者と開発者

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

貢献者

“WP Multiple Taxonomy Images” をあなたの言語に翻訳しましょう。

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

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

変更履歴

0.3

Fix warnings in post view.

0.2

Update text in readme.txt.

0.1

Release of WP Multiple Taxonomy Images.