Show a list of posts in a selected category,the number of posts to show is a value of a property of the short code.
As of April 2026, Shortcode Query Posts By Selected Category is a WordPress category plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 1.6K+ times in total. Requires WordPress 3.3+ and PHP false+. Available on WordPress.org since 2013. Last updated 12 years ago — may have compatibility concerns. Top alternative: Pages with category and tag.
How to use?
[slnet slug=”Your-Category-Slug” count=”Number of Posts to show”]Type Your Title[/slnet]
Example:
[slnet slug=”php”count=”5″]PHP Posts[/slnet]
This shortcode will show a list of 5 posts in your category which slug is “php”.
WordPress forum:
https://wordpress.org/support/plugin/shortcode-query-posts-by-selected-category
or
the homepage of this plugin:
Suoling.net
| WordPress | 3.3+ requiredTested up to 3.7.41 |
| PHP | false+ required |
v1.0 release
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.