If category has no sub-categories (only posts)??
-
Hello guys. I am running a lyrics site, I have created categories for the initial letter of the artist, then subcategories for the artists.
I need an if with a function to check if the category is an artist (if there are no child categories, only posts under it) so i can add content that will not be visible on letter categories. I cannot use templates because I add new artists all the time.
Thanks in advance ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘If category has no sub-categories (only posts)??’ is closed to new replies.