How to display only child category name?
-
Hi,
I want to display the name of the child category name but it keeps display both parent and child category name. The code I have now is:
<?php the_category(‘, ‘) ?>
Is there any simple way to display only the child category name? Much appreciated. Thanks!
AD
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to display only child category name?’ is closed to new replies.