If Category has Parent Category
-
Does anyone know how one might check to see if a category has a parent category?
Specifically I’m trying to create a breadcrumb that outputs something like:
Home » Parent Category » Subcategory
But I’d like to be able to replace “Parent Category” with “if Subcategory has Parent Category, echo Parent Category” type of thing.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘If Category has Parent Category’ is closed to new replies.