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(). To get the featured image URL I added the function cfi_featured_image_url().
Shortcode/PHP function optional arguments:
[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' ) );
Requires: 3.5.0 or higher
Compatible up to: 4.1.1
Last Updated: 2015-1-29
Active Installs: 1,000+
1 of 2 support threads in the last two months have been resolved.
Got something to say? Need help?