Home › Forums › Back End › Display last child category in WordPress template › Reply To: Display last child category in WordPress template
May 5, 2014 at 7:26 am
#169236
aqeel.mmd
Participant
I know its late, But you can use
<?php the_category(“”, “single”); ?>; // inside loop
<?php the_category(“”, “single”, $post->ID); ?> // outside loop
You can see the reference here . We are using it in our site.