BACK TO DIRECTORY

Category Thumbnail

by Pat Hawks

0.0
(0 ratings)

[catthumb id=”CategoryID” link=”true”] will find the most recent post in the specified Category with a featured image and return the thumbnail for that image. If link=”true” is specified, the image will link to the category specified.

You can optionally search custom post types with the post_type attribute, and specify the thumbnail size with the size attribute. IE [catthumb id="CategoryID" link="true" post_type="restaurants" size="full"]

The plugin will only search featured images, not attached images. It will not look for images embedded in the post itself, or other attached images. If a category does not have any posts with featured images, this plugin will not return a thumbnail image, even if the category has posts with attached images.

Plugin Details

Active Installs
30
Total Downloads
10,262
Version
1.5.0
Requires WP
3.5
Requires PHP
—
Tested Up To
4.2.39
Added
2011-02-26
Last Updated
2015-03-28 9:00pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0