WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Category Featured Images

Set a featured image for all the posts of a category.

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

Shortcode/PHP function optional arguments:

  • 'size': valied values are 'thumbnail', 'medium', 'large', 'full'
  • 'class': class of the image tag
  • 'alt': alternative text of the image tag
  • 'title': title of the image tag

Shortcode example:

[cfi_featured_image size="large" title="This is a test..." class="my-image" alt="My image"]

PHP function example:

cfi_featured_image( array( 'size' => 'large', 'title' => 'This is a test...', 'class' => 'my-image', 'alt' => 'My image' ) );

Requires: 3.0 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-26
Downloads: 893

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1 100,2,2