How to display all posts in a category in WordPress sidebar

Had a few requests by clients to do this and the code is pretty simple:

Replace abc123 in the example above with your actual category name (the “slug”) and change the amount after “showposts” to the desired quantity you wish to display.

Leave a Reply

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