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

WP Category Images

説明

This simple plugin permits you to upload images to categories, tags and custom taxonomies just like to posts.
This feature is very useful when you want to show unique image in header tor every category or even some slideshow of images.
Also you can show a list of categories/subcategories with a little thumbnail am much more.

By the way, this plugin just uses wordpress native functionality – no aditional tables and nothing like that.
Also it uses wordpress images so all sizes are generated automatically (custom sizes included).

インストール

  1. Upload wp_cat_images directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php cat_image(<term_id>); ?> in your templates to show category thumbnail

FAQ

How to get other image sizes

cat_image(
, // ID of category/taxonomy to show thumbnail from
[echo], // return(false) or print(true) the thumbnail code (default: TRUE)
[thumbnail_size] // any registered sizes are accepted ‘thumbnail’, ‘medium’, ‘large’,’original’ or any custom registered size (default: “thumbnail”)
)

How to get all images attached to category

$cat_images = get_cat_images(
, // ID of category/taxonomy to get thumbnails from
[limit] // Maximum images count to return or -1 to return all of them (default: -1)
)

評価

このプラグインにはレビューがありません。

貢献者と開発者

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

貢献者

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

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

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

変更履歴

First release