Active installations60Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Posts By Category Widget version 1.0.4 as active, updated 12y ago and tested up to WordPress 3.7.
Overview
About this plugin
This widget displays posts in the category, order, and quantity of your choosing. It supports custom templates!
After installation, drag-and-drop the new “Category Widget” to a widget area, choose the categories you wish to display, and tell it the order and quantity in which you wish to display them.
Templates
The default template is just plain-ol’ HTML5, without any CSS; it’s meant to fit right into any theme without modification.
However, if you’re a theme developer and you wish to use custom markup or WP functions inside your template, here’s how to customize it:
In the root of your theme’s directory, create a new file called catswidget.php (or copy template.php from posts-by-cat-widget/views to your theme’s root, and rename it catswidget.php, if you’d rather use the default as a starting point).
Craft your loop. Just make sure you use the $posts variable, like this: if ( $posts -> have_posts() ):
while ( $posts -> have_posts() ):
>
// Your markup here
endwhile;
endif;
The widget is just a simple custom loop, so you’ll have access to whatever data WP_Query has access to inside the loop.
TODO
Perhaps we could use it to query custom post types/taxonomies, not just Posts
Add hooks/filters
Add ability to extend admin
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
category
posts
themeable
widget
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 3.7
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.7.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.7
Minimum requirementsWordPress 3.7 · PHP not listed
Update activity17 Dec 201312y ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.