Displays post from a selected category with post thumbnail.
As of April 2026, Posts from a Category Widget is a WordPress widget plugin with 300 active installations and a 5/5 rating from 4 reviews. It has been downloaded 18K+ times in total. Requires WordPress 3.4+ and PHP false+. Available on WordPress.org since 2011. Last updated 10 years ago — may have compatibility concerns. Top alternative: Widgets for Google Reviews.
Displays post from a selected category with post thumbnail.
This plugin is maintained on GitHub.
Filter for default template.
<?php
add_filter("posts-in-category-widget-template", "my_template");
function my_template($template) {
return '<div class="%class%"><a href="%post_url%">%post_thumb%</a></div>';
}
?>
Filter for stylesheet URI.
<?php
add_filter("posts-in-category-widget-stylesheet", "my_style");
function my_style($url) {
return 'http://example.com/path/to/style.css';
}
?>
| WordPress | 3.4+ requiredTested up to 4.4.34 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.