Title: Category Featured Images
Author: Mat
Published: <strong>25.04.2014</strong>
Last modified: 29.01.2015

---

Поиск плагинов

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

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями 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://ru.wordpress.org/plugins/category-featured-images/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/category-featured-images/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/category-featured-images/#installation)
 * [Разработка](https://ru.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/) 06.11.2017

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/) 03.09.2016

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/) 03.09.2016 1 ответ

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/) 03.09.2016 1 ответ

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/) 03.09.2016

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://ru.wordpress.org/plugins/tags/categories/)[images](https://ru.wordpress.org/plugins/tags/images/)
   [post](https://ru.wordpress.org/plugins/tags/post/)[posts](https://ru.wordpress.org/plugins/tags/posts/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/category-featured-images/advanced/)

## Оценки

 4.5 из 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)

[Ваш отзыв](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/)