Hide when no post in category
-
Hi,
I’ve been searching the forum before asking and found another post about it but the person solved the problem on their own so I couldn’t get an answer to my question (and couldn’t figure it out on my own).
I’m working on a website where people will be able to post some articles from frontend. In order not to have to create new categories everytime they post an article (I will have to at some point but I want to keep it to the minimum), I would like to create the categories and subcategories in advance. Problem is, doing so, categories/subcategories are listed even when they have no entries.
So, my question is: how can I hide empty categories?And another question (if you can’t help me with this one I will continue to list only the main categories for now and will find another way to achieve it later), is there a way to list the parent category in one column and the corresponding child categories in another one, like this > https://cosplay.com/series/A (I don’t need the 2 columns in the middle)?
Thank you for your time and help!
- The topic ‘Hide when no post in category’ is closed to new replies.