As always, if you want to write a blog and display related posts on a page/post page, you will need to create a specific category where all posts are well-arranged. And usually, your categories are placed as a widget on the sidebar of your WordPress site. But what if you need to highlight certain category that includes a good collection of relevant posts in your custom navigation menu?
If this is the case, you may consider using this List Category Posts plugin that will free you from unnecessary hassles. At this place, we will throw a spotlight on how to make full use of this user-friendly plugin to display blog posts with shortcode. Now, let’s deep into those detailed steps and access the rest of this tutorial.
About List Category Posts Plugin
As a highly-ranked WordPress plugin, List Category Posts provides you with an easy and quick solution to list blog posts by category without complicated code. In another word, this plugin is used to generate category ID and name with a string of short code in the form of [catlist]. Apart from that, it also empowers you to display the post date, custom field values, author, excerpt and even the blog content.
When it comes down to the system requirement, this List Category Posts plugin gives full support for WordPress v3.3 and is compatible up to WordPress v4.1. Besides that, this WP plugin has a solid foundation of user satisfaction with 4.5 out of 5 stars on the ratings. One spotlight that needs mentioning is that it has been tuned for better performance with constant maintenance and frequent updates.
Website URL: https://wordpress.org/plugins/list-category-posts/
How to Enable and Customize this Plugin?
As you may imagine, the first thing you need to do is to login into your WordPress dashboard and head over to “Plugins” > “Add New.” If done, you will be able to search this “List Category Posts” plugin before installing and activating it. If done properly, you will be taken to a new page named as “Installed Plugins” where you are allowed to choose between the “Deactivate” and “Edit” options.
Once installed and activated, you will be able to use the built-in shortcode in any of your posts/pages. To put it in a nutshell, you can simply create a listing of category posts by using the shortcode of [catlist]. Given that you are planning to show multiple categories, you’d better specify an ID by inserting the following shortcode. Note that the below ID shortcode supports lots of parameters.
On the other hand, if you are about to utilize a category slug or name, then you will need to paste the following shortcode. Note that, you can replace the filled-in content (here is “beginners_guide”) with any names you like.
In addition to those mentioned category name and ID, you are also allowed to create category order, tags, date, comments, thumbnail, custom fields and excerpt, etc. To be frank, it is worth taking a closer look at the “Other Notes” area of this List Category Posts plugin to get to know the full list of parameters.
Important to Note: In the meantime, you can hover over “Settings” to go to the “List Category Posts” area to define the default number of posts. As is showed, you can choose to showcase the maximum number of posts on each page or display all the posts without limits by simply filling in “0” or “-1” respectively. Do not forget to “Save Changes” in the end.
Some Recommendable Alternatives
Apart from the introduced List Category Posts plugin, there are many other shortcode plugins online. Allowing for convenience, we have reviewed and selected the following recommendable alternatives. Scroll down and know more details.
Display Posts Shortcode
As a long-awaited plugin, Display Posts Shortcode enables you to showcase a list of posts by simply using the shortcode of [display-posts]. More importantly, you will be able to display image size, post excerpt and date by inserting a series of short code, including image_size, include_excerpt and include_date respectively.
Website URL: https://wordpress.org/plugins/display-posts-shortcode/
Posts per Cat
As a lightweight plugin, Posts per Cat allows you to group posts/pages via category, and in the meantime, manage any selected categories from the blog database. On top of that, this robust plugin can display all recent posts from every category, which usually classified into 1-5 columns. As a matter of course, it empowers you to define those ready-to-include or exclude categories.
And more, the Posts per Cat plugin enables you to decide the number of boxes displayed in each row and then arrange them through category ID or title. Plus, this plugin will automatically generate SEO-optimized permalink URLs with integration to your template file. At the same time, it includes all you needed features with many selectable shortcode options and macros.
Website URL: https://wordpress.org/plugins/posts-per-cat/