Show parent category.
-
Hello everybody.
I have custom post type and taxonomy for this post type. When I go to category page, I display title of current category:
<?php single_cat_title(); ?>
And I want display parent category of current category.
Also I created template for categories of custom post types: taxonomy-sector.php
How do it?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Show parent category.’ is closed to new replies.