How to Show One Category Only on Your Homepage

Without Excluding Other Categories and Hiding Them

home categories wordpress plugin

For this site, I wanted a way to show only posts from one category on the homepage. It seemed simple enough, but it took me about half an hour to get it right.

See, most plugins are developed to exclude categories from the homepage, but what if your theme (like mine) uses the homepage template for both the category and tag pages?

What happens is when I use a plugin that excludes the categories from the home page, it also excludes them from the tag and category pages as well.

I found the best WordPress plugin to use if that happens to your site as well is the Home Categories plugin.

The Home Categories plugin takes a different approach and instead of excluding other categories than the one you want to show, this plugin includes only the category(s) you want to show on your homepage, leaving the rest alone.

There are also other benefits to using a plugin like this:

  1. If you have a lot of categories, it’s a pain to have to go and exclude all the ones you don’t want to show up. I think it’s a lot easier to just select the ones you do want.
  2. Whenever you create a new category, that new category will show up on the homepage until you exclude it. It’s cumbersome to have to remember to go and switch every new category off. It’s far easier to just turn the ones you want on.

One thing that I did notice is that there’s been no recent updates for the extension, but it work 100% correctly on WordPress 4.9+.

Leave your vote

1841 points
Upvote Downvote

Total votes: 0

Upvotes: 0

Upvotes percentage: 0.000000%

Downvotes: 0

Downvotes percentage: 0.000000%

Leave a Reply

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