[Resolved] How to only show the post's child category inside the loop?
I’m trying to use get_categories(); to print the current post’s child category, either by hiding its parent categories or by showing only the child categories associated to that post (I’m trying to use this both on single.php and category.php). Unfortunately, I’m new to this kind of functions and I can’t put it to work.
Any suggestions, please?
- The topic ‘[Resolved] How to only show the post's child category inside the loop?’ is closed to new replies.