Adds shortcode `[catthumb]` to embed a thumbnail image for a category.
Author: | Pat Hawks (profile at wordpress.org) |
WordPress version required: | 3.5 |
WordPress version tested: | 4.2 |
Plugin version: | 1.5.0 |
Added to WordPress repository: | 26-02-2011 |
Last updated: | 28-03-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/pathawks/Category-Thumbnai... |
Total downloads: | 9 206 |
Active installs: | 60+ |
Click to start download |
[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.
FAQ
ChangeLog