Have you ever found a need to list the posts from a specific category on a specific post or a page? In the past, we have used custom page templates and hard coded a solution in. However, recently we have discovered a way that allows you to list category posts in WordPress Posts or Page with a shortcode.
First thing you need to do is install and activate the List Category Posts plugin. Once you have activated the plugin, you can simply use the shortcode anywhere in your post or page.
The shortcode is [catlist] which accepts numerous parameters. First and foremost it accepts the category name or ID parameter. Example would be like:
[catlist name=tutorials]
If you want multiple categories, its best to use the IDs. The shortcode would look like this:
[catlist id=7,24,32]
The shortcode accepts bunch of other parameters including tags, orderby, order, numberposts, date, author, excerpt, excludeposts, comments, thumbnail, custom fields, etc. The full list of parameters can be found in the Other Notes section of the plugin.
The plugin also has a widget for the sidebar that you can use by going to Appearance » Widgets.







Hello, is there a way to list all of the categories in a single page?
I want to list a specific Tag posts on a Page, is it possible
Hi, Thanks for this plugin it works great if I use it in the cms. But I want to use it on a template and ‘hard code it i’ I tried [catlist name=list] or how can I get it to work on a normal php page?
Thanks
Hey Gabriel,
Use this tutorial: http://www.wpbeginner.com/wp-themes/how-to-use-shortcodes-in-your-wordpress-themes/
hey – i got it and it was really easy. Sorry to trouble you.
dave
Hey it worked! Thanks. However what would be really useful if I could show a category of posts only on one page. Maybe this does that and I don’t know how.
anyway, thanks.
Dave
This is great. I have the plugin installed and it works well and is much easier than coding custom pages. Would be great to have the posts shown in more detail (e.g. thumbnails, excerpts etc) as can be done with custom coding a page too. Anyone found an easy way to do this?