Quickly Display WordPress Posts by Blog Category in Page or Post
A few weeks ago, I shared a story about a friend launching a new website and desiring a way to share a list of his WordPress posts on specific pages throughout his website.
I shared two distinct methods to accomplish this desired feat using WordPress’ Display Posts Shortcode plugin.
Although a good plugin to use for displaying the latest WordPress posts on a given WordPress page, a few of you contacted me about displaying the WordPress posts by a given category.
Of course, displaying the WordPress posts by a given category using WordPress’ Display Posts Shortcode plugin is not a problem at all.
In fact, simply set category or category_id parameters within the display posts shortcode, and you’re all set.
//WordPress’ Display Posts Shortcode Plugin - Shortcode examples
However, it is a problem when using WordPress’ Display Posts Shortcode plugin causes a conflict with other plugins on your website.
So, what do you do when encountering a Plugin conflict attempting to list posts by a given category?
It’s quite common for plugins to be in conflict with a theme or one another, especially when using more than ten (10) active plugins at one time.
Nevertheless, there is another alternative option that provides the same if not better experience specifically for displaying the WordPress posts by a given category: List Category Posts plugin.
List Category Posts is a robust plugin allowing for single, multiple, and exclusion category listings of WordPress Post. The added bonus of the List Category Posts plugin not provided by WordPress’ Display Posts Shortcode plugin is the ability to display listings based upon category exclusion.
I personally use List Category Posts for this one reason of excluding categories when displaying WordPress posts.
Readers are able to still view the categories using the “Browse By Topic” selector in the sidebar.
Just like the previous plugin provides easy use and access to shortcode, List Category Posts also provides a fully documented experience — allows the templating, HTML and CSS customization, pagination and over 25+ different parameters for displaying blog post listings by category — for how to best use the [catlist] shortcode.
In closing, I invite you to watch a quick and easy tutorial that provides you step-by-step guidance for using the List Category Posts plugin.