Posts from a Category Widget
Displays post from a selected category with post thumbnail.
The facts
- Rating
- 5★ from 4
- Active installs
- 300+
- Price
- Free
- Last updated
- 3 Jan 2016
- Added
- Oct 2011
- Requires WP
- 3.4
- Tested up to
- WP 4.4.34
- Downloads
- 18,815
Our analysis
AI-assistedPosts from a Category Widget is a WordPress plugin that displays posts from a selected category in a sidebar widget, including post thumbnails. You can customize the HTML output and the default HTML template through filter hooks. This plugin is suitable for users who want to highlight specific category posts on their site.
Best for: This plugin is best for WordPress users looking to feature posts from specific categories in their sidebars.
What it does well
- ✓Displays posts with thumbnails in a sidebar widget
- ✓Customizable HTML output
- ✓Customizable default HTML template
- ✓Maintained on GitHub
Where it falls short
- •Limited information on additional features
- •Last updated in January 2016
Verdict
Posts from a Category Widget provides a straightforward way to display category-specific posts, but its age and lack of recent updates may be a concern for some users.
From the developer
Takayuki Miyauchi's own description of Posts from a Category Widget, lightly tidied.
Displays post from a selected category with post thumbnail.
This plugin is maintained on GitHub.
Some features:
- Displays post from a selected category with post thumbnail on sidebar widget.
- You can customize HTML output.
- You can customize default HTML template in your plugin.
filter hooks example
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';
}
?>
Translators
- Japanese(ja) – Takayuki Miyauchi
Please contact me.
- @miya0001 on twitter.
- http://wpist.me/ (en)
- http://firegoby.jp/ (ja)
- https://github.com/miya0001/posts-in-category-widget