i’m trying to find a way to use the “<?php the_category( ); ?>” tag to display the hiarchical relationship between my category and its subcategory.
to clarify: if a post is in the subcat “monkeys” whose parent category is “primates” i want the_category to return “primates > monkeys”. obviously the > sign is arbitrary. the point is that the_category only shows the category a post is placed in, and makes no reference to the parent category? is there a way around this? besides posting the entry in both “primates” and “monkeys”?
- The topic ‘showing categories and subcategories using THE_CATEGORY ??’ is closed to new replies.