Title: Category Featured Images
Author: Mat
Published: <strong>2014年4月25日</strong>
Last modified: 2015年1月29日

---

プラグインを検索

![](https://ps.w.org/category-featured-images/assets/banner-772x250.png?rev=1012082)

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

![](https://ps.w.org/category-featured-images/assets/icon-256x256.png?rev=1007316)

# Category Featured Images

 作者: [Mat](https://profiles.wordpress.org/blocknotes/)

[ダウンロード](https://downloads.wordpress.org/plugin/category-featured-images.zip)

 * [詳細](https://ja.wordpress.org/plugins/category-featured-images/#description)
 * [レビュー](https://ja.wordpress.org/plugins/category-featured-images/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/category-featured-images/#installation)
 * [開発](https://ja.wordpress.org/plugins/category-featured-images/#developers)

 [サポート](https://wordpress.org/support/plugin/category-featured-images/)

## 説明

This plugin allows to set a featured image for each category.
 Posts without a featured
image set will show the category’s featured image instead. Featured images usually
are placed by the theme in the single post page, in the latest posts page, etc. 
But can also be shown using the shortcode _[cfi\_featured\_image]_ or the PHP function
_cfi\_featured\_image()_. To get the featured image URL I added the function _cfi\
_featured\_image\_url()_.

Shortcode/PHP function optional arguments:

 * ‘size’: ‘thumbnail’, ‘medium’, ‘large’, ‘full’
 * ‘class’: class of the image tag
 * ‘alt’: alternative text of the image tag
 * ‘title’: title of the image tag
 * ‘cat_id’: select a specific category id

Shortcode example:

    ```
    [cfi_featured_image size="large" title="This is a test..." class="my-image" alt="My image"]
    ```

Function example 1:

    ```
    cfi_featured_image( array( 'size' => 'large', 'title' => 'This is a test...', 'class' => 'my-image', 'alt' => 'My image' ) );
    ```

Function example 2:

    ```
    cfi_featured_image_url( array( 'size' => 'large' ) );
    ```

Notes:

 * If a post has more than a category with a featured image the first available 
   is loaded
 * If a category hasn’t a featured image but it has a parent category with a featured
   image the parent one is loaded

## スクリーンショット

[⌊Edit category page⌉⌊Edit category page⌉[

Edit category page

## インストール

 1. Install and activate the plugin
 2. Go in Posts \ Categories
 3. Edit a category
 4. Set the category featured image

## 評価

![](https://secure.gravatar.com/avatar/68402abb158cc61a15e20dc32619f6925429873cc9d86589dcfa365f2969b7da?
s=60&d=retro&r=g)

### 󠀁[Needs to be Re-released/ Updated](https://wordpress.org/support/topic/needs-to-be-re-released-updated/)󠁿

 [prantikv](https://profiles.wordpress.org/prantikv/) 2017年11月6日

The plugin works. But the "last updated" date is more that 2 years ago. Which was
preventing me from using this plugin. The developer needs to push an update.

![](https://secure.gravatar.com/avatar/7b582b8b89c1f4c5f38cc847c03a642b442142e267d480c1f5e6cf2880613a2e?
s=60&d=retro&r=g)

### 󠀁[Super handy time saver](https://wordpress.org/support/topic/super-handy-time-saver/)󠁿

 [pecktron2000](https://profiles.wordpress.org/pecktron2000/) 2016年9月3日

I love this plugin. It saves time and adds a layer of flexibility to WordPress. 
Now a user can select a default image for categories without having to edit any 
code. As a developer, I don't want the user to have to edit code so this is a great
feature. Thank You! Not sure if this plugin is still being updated or if it was 
abandoned> I hope it is still alive 🙂

![](https://secure.gravatar.com/avatar/eeaa4907334e7d5b5a9b1578b8c372fcebcbd67726fb49a4f05f571391d03416?
s=60&d=retro&r=g)

### 󠀁[get a specific gategory image](https://wordpress.org/support/topic/get-a-specific-gategory-image/)󠁿

 [sharaf3983](https://profiles.wordpress.org/sharaf3983/) 2016年9月3日 1 reply

how i can get a specific category image??? using php

![](https://secure.gravatar.com/avatar/a10a5e6859a14b876f21730acf55c98f3630cc7fed3d1bbbb1e274615e322248?
s=60&d=retro&r=g)

### 󠀁[Does one thing and does it well](https://wordpress.org/support/topic/does-one-thing-and-does-it-well-6/)󠁿

 [pandammonium](https://profiles.wordpress.org/pandammonium/) 2016年9月3日 1 reply

This plugin does one thing and it does it well. It's easy to use, too: install, 
set up the default category images and forget about it.

![](https://secure.gravatar.com/avatar/f11354208be352acc11d31038ebc716717d7b768750146bfcae0506367e82aa8?
s=60&d=retro&r=g)

### 󠀁[Very nice plugin, Category Featured Images](https://wordpress.org/support/topic/very-nice-plugin-category-featured-images/)󠁿

 [Mokhtar-Taha](https://profiles.wordpress.org/mokhtar-taha/) 2016年9月3日

Very nice plugin, Category Featured Images

 [ 11件のレビューをすべて表示 ](https://wordpress.org/support/plugin/category-featured-images/reviews/)

## 貢献者と開発者

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

貢献者

 *   [ Mat ](https://profiles.wordpress.org/blocknotes/)

[“Category Featured Images” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/category-featured-images)

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

[コードを閲覧](https://plugins.trac.wordpress.org/browser/category-featured-images/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/category-featured-images/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/category-featured-images/)
を [RSS](https://plugins.trac.wordpress.org/log/category-featured-images/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.1.8

 * Added ‘cat_id’ param to cfi_featured_image

#### 1.1.5

 * Loads parent category image if nothing is found before

#### 1.1.2

 * Added ‘cat_id’ param to cfi_featured_image_url

#### 1.1.0

 * Improvement: cfi_featured_image in category archive pages shows the current image
 * New PHP function: cfi_featured_image_url()

#### 1.0.6

 * New shortcode: cfi_featured_image()
 * New PHP function: cfi_featured_image()

## メタ

 *  バージョン **1.1.8**
 *  最終更新日 **12年前**
 *  有効インストール数 **600+**
 *  WordPress バージョン ** 3.5.0またはそれ以降 **
 *  検証済み最新バージョン: **4.1.42**
 *  言語
 * [English (US)](https://wordpress.org/plugins/category-featured-images/)
 * タグ
 * [categories](https://ja.wordpress.org/plugins/tags/categories/)[images](https://ja.wordpress.org/plugins/tags/images/)
   [post](https://ja.wordpress.org/plugins/tags/post/)[posts](https://ja.wordpress.org/plugins/tags/posts/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/category-featured-images/advanced/)

## 評価

 5つ星中4.5つ星

 *  [  9 5-星レビュー     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=5)
 *  [  1 4-星レビュー     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=2)
 *  [  1 1-星レビュー     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/category-featured-images/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/category-featured-images/reviews/)

## 貢献者

 *   [ Mat ](https://profiles.wordpress.org/blocknotes/)

## サポート

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

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/category-featured-images/)

## 寄付

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

 [ このプラグインに寄付 ](http://www.blocknot.es/home/me/)