How To List Any Category Posts Inside Pages And Other Post Types In WordPress?

List Category Posts enables you to list posts from a given category into any page, post or anyother post type using the [catlist] shortcode. While creating or editing any page or post you can directly insert its shortcode and the posts will get listed there.

You can either use the category ID of the name of category you like listing. It should look something like this:

[catlist id=1]
[catlist name="news"]

The shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can also display the post author, date, excerpt, custom field values, even the content!

There are a lot more parameters according to what and how you like listing your category post. Like:

[catlist id=1 numberposts=10]

You can read the instructions here to learn what parameters are available and how to use them.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.