I would like to know if it's somehow possible to add an argument to the get_the_category function to only display categories (child of a parent category) a post belongs to.
E.g if my posts belongs to cat 1, 1>2, 3, 7
I d'like to write get_the_category(catId=1) so that it will ouput me the category name 1>2
Anything possibile ??
Thanks a lot!