Using ‘<?php the_category()???>’ Parent vs. Child
-
I’m using the
<?php the_category()???>
tag and need to display only the parent category, not the child categories. Right now it displays Parent & Child.I searched for an answer in the forums and the codex, but I can only find info for excluding the parent category.
Thanks for your help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using ‘<?php the_category()???>’ Parent vs. Child’ is closed to new replies.