What is the best way to get the hierarchy of parent category objects from the
category.php template, when there is no post as such.
get_category_parents() returns a string not the objects.
get_categories() seems to be intended for pages where there is a post because the
type argument can take either
Is there any other function I am missing? I would need something that behaves exactly like
get_category_parents() but I need the category objects not just a string of all of the names.