Conditional statement to check if current category has child category
-
I’m working on a custom category template. I want the template to display the category description and then a list of child categories.
I need a way of checking if the current category has any child categories and if not display my theme’s default “no content to display” template.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conditional statement to check if current category has child category’ is closed to new replies.