Title: Category Featured Images
Author: Mat
Published: <strong>2014-04-25</strong>
Last modified: 2015-01-29

---

Szukaj wtyczek

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

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

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

# Category Featured Images

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

[Pobierz](https://downloads.wordpress.org/plugin/category-featured-images.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/category-featured-images/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/category-featured-images/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/category-featured-images/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/category-featured-images/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/category-featured-images/)

## Opis

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

## Zrzuty ekranu

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

Edit category page

## Instalacja

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

## Recenzje

![](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-06

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-09-03

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-09-03 1 odpowiedź

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-09-03 1 odpowiedź

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-09-03

Very nice plugin, Category Featured Images

 [ Przeczytaj 11 recenzji ](https://wordpress.org/support/plugin/category-featured-images/reviews/)

## Kontrybutorzy i deweloperzy

„Category Featured Images” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

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

[Przetłumacz wtyczkę “Category Featured Images” na swój język.](https://translate.wordpress.org/projects/wp-plugins/category-featured-images)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/category-featured-images/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/category-featured-images/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/category-featured-images/)
przez [RSS](https://plugins.trac.wordpress.org/log/category-featured-images/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 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()

## Meta

 *  Wersja **1.1.8**
 *  Ostatnia aktualizacja **12 lat temu**
 *  Włączone instalacje **600+**
 *  Wersja WordPressa ** 3.5.0 lub nowszej **
 *  Testowano do **4.1.42**
 *  Język
 * [English (US)](https://wordpress.org/plugins/category-featured-images/)
 * Tagi
 * [categories](https://pl.wordpress.org/plugins/tags/categories/)[images](https://pl.wordpress.org/plugins/tags/images/)
   [post](https://pl.wordpress.org/plugins/tags/post/)[posts](https://pl.wordpress.org/plugins/tags/posts/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/category-featured-images/advanced/)

## Oceny

 4.5 na 5 gwiazdek.

 *  [  9 recenzji 5-gwiazdkowych     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=5)
 *  [  1 recenzja 4-gwiazdkowa     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=2)
 *  [  1 recenzja 1-gwiazdkowa     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=1)

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

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/category-featured-images/reviews/)

## Zaangażowani

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

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/category-featured-images/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://www.blocknot.es/home/me/)