How to List Your WordPress Posts by Category

There’s a nifty WordPress plugin called List Category Posts that makes it dead-simple to list all of the blog posts in a specific category of your blog.

Why is this useful? If you’ve been blogging for a while you’ve likely got a lot of valuable posts buried on your blog that aren’t easily accessible to new visitors. Most bloggers include a list of categories on the side of their blog, but if you’ve got a lot of items filed under a category it can take a while to peruse them all the posts. By creating a a list of posts sorted by category, you can point new visitors so they can get familiar with your site; it acts as a site map.

Your should create a blog post that lists all of your blog categories with a list of posts below them. Then include a link to it somewhere prominently on your site so new visitors can quickly scan your old posts.

You can see the list of posts I created for this blog here. And here’s what the post itself looks like:

The name attribute refers to the category name (make sure you put categories that have multiple words in quotes), numberposts specifies how many posts you want to be displayed for that category (-1 means list everything), and date tells it to display the post date next to the link.  You can see all the options on the plugin’s Other Notes page.

And the great thing about this is that it will update automatically as you add new posts.

To add a link to your side bar, go to Appearance > Editor > Sidebar and add a link to that blog post:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s