Display subcategories on category page instead of posts
-
Hey everyone,
I’m wondering if it’s possible to display subcategories on the category page instead of a list of all the posts in that category.
For example, with a category of “Going out” and sub cats of “Bars” and “Clubs”, when someone clicks on “Going out” at the moment they see a list of posts such as Bar A, Club A, Bar B, Bar C etc.
I would like to change that so that they instead see links to the “Bars” and “Clubs” subcats and don’t see the post excerpts until they are in the appropriate subcat. I hope this makes sense. I’ve looked around for a long time and can’t find anything that seems to do this.
My coding knowledge is pretty limited. Is there a code that I can paste into one of the theme php files? I really appreciate all of your help! I’m using the Twenty Ten theme and the site is here: https://www.parisyearabroad.com
I’m using the collapsing cats sidebar plugin which is great for the sidebar. It’s only the actual page that you land on when you click a category that I want to change.
Thank you!
- The topic ‘Display subcategories on category page instead of posts’ is closed to new replies.