Title: Category Featured Images
Author: Mat
Published: <strong>25 avril 2014</strong>
Last modified: 29 janvier 2015

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# Category Featured Images

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

[Télécharger](https://downloads.wordpress.org/plugin/category-featured-images.zip)

 * [Détails](https://fr.wordpress.org/plugins/category-featured-images/#description)
 * [Avis](https://fr.wordpress.org/plugins/category-featured-images/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/category-featured-images/#installation)
 * [Développement](https://fr.wordpress.org/plugins/category-featured-images/#developers)

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

## Description

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

## Captures d’écrans

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

Edit category page

## Installation

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

## Avis

![](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/) 6 novembre 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/) 3 septembre 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/) 3 septembre 2016 1 réponse

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/) 3 septembre 2016 1
réponse

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/) 3 septembre 2016

Very nice plugin, Category Featured Images

 [ Lire les 11 avis ](https://wordpress.org/support/plugin/category-featured-images/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Category Featured Images » est un logiciel libre. Les personnes suivantes ont 
contribué à cette extension.

Contributeurs

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

[Traduisez « Category Featured Images » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/category-featured-images)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/category-featured-images/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/category-featured-images/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/category-featured-images/)
par [RSS](https://plugins.trac.wordpress.org/log/category-featured-images/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

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

## Méta

 *  Version **1.1.8**
 *  Dernière mise à jour **il y a 12 ans**
 *  Installations actives **600+**
 *  Version de WordPress ** 3.5.0 ou plus **
 *  Testé jusqu’à **4.1.42**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/category-featured-images/)
 * Étiquettes
 * [categories](https://fr.wordpress.org/plugins/tags/categories/)[images](https://fr.wordpress.org/plugins/tags/images/)
   [post](https://fr.wordpress.org/plugins/tags/post/)[posts](https://fr.wordpress.org/plugins/tags/posts/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/category-featured-images/advanced/)

## Évaluations

 4.5 sur 5 étoiles.

 *  [  9 avis à 5 étoiles     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=5)
 *  [  1 avis à 4 étoile     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=2)
 *  [  1 avis à 1 étoile     ](https://wordpress.org/support/plugin/category-featured-images/reviews/?filter=1)

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

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

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/category-featured-images/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://www.blocknot.es/home/me/)