I want almost exactly what Monkeyboy wants except that I want to have the current category’s child displayed as a link.
As far as I figured it out get_the_category
does not provide child_of
functionality, hence I can’t get the child of a certain current category displayed.
My example:
Post A is filed under parent category Celebrities (id 1) and child category Brad Pitt (id 2). What I want to get displayed in the post is the child category link as the cat name (<a href="#categorylink">Brad Pitt</a>
).