Category Featured Images
Set a featured image for all the posts of a category.
The facts
- Rating
- 4.5★ from 11
- Active installs
- 600+
- Price
- Free
- Last updated
- 29 Jan 2015
- Added
- Apr 2014
- Requires WP
- 3.5.0
- Tested up to
- WP 4.1.42
- Downloads
- 21,502
Our analysis
AI-assistedCategory Featured Images is a WordPress plugin that allows you to set a featured image for each category on your site. If a post does not have a featured image, it will display the category's featured image instead. You can also use shortcodes or PHP functions to display the featured images in various sizes and with custom attributes.
This plugin is suitable for users who want to enhance the visual appeal of their categories and posts by using featured images. It can be particularly useful for bloggers or content creators who organise their posts into multiple categories and want to maintain a consistent look across their site.
Best for: This plugin suits bloggers and content creators looking to enhance category visuals.
What it does well
- ✓Allows setting a featured image for each category
- ✓Displays category image when post image is not set
- ✓Supports shortcodes and PHP functions for flexibility
Where it falls short
- •Last updated in January 2015
- •Tested only up to WordPress 4.1.42
- •Directory score of 49/100 indicates potential issues
Verdict
Category Featured Images provides a straightforward way to manage category images, but its outdated status may pose compatibility risks for newer WordPress versions.
From the developer
Mat's own description of Category Featured Images, lightly tidied.
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