Dizze plugin is net hifke mei de lêste 3 grutte releases fan WordPress . It kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe as it wurdt brûkt mei resinte ferzjes fan WordPress.

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' ) );


  • 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


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


6 novimber, 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.
3 septimber, 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 🙂
3 septimber, 2016 1 reakce
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.
Lês alle 11 resinsjes

Meiwurkers & amp; Untwikkelders

"Category Featured Images" is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.


Oersette "Category Featured Images" yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .



  • Added ‘cat_id’ param to cfi_featured_image


  • Loads parent category image if nothing is found before


  • Added ‘cat_id’ param to cfi_featured_image_url


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


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