Hi. I create a post and give to post category named (for example)Criminal, which is child category of Movie Types, and on page i want to show the title of this child category and the description.
For this, in the Loop i using
<?php single_cat_title(); ?> <?php echo category_description(); ?>
But loop showing me the title and description of main category. How to show only child category information?
- The topic ‘How to show child category title’ is closed to new replies.