Tag Info

New answers tagged

3

You can get all of the parents of an object via get_ancestors - $term_id = 42; $your_taxonomy = 'sometax'; $parents = get_ancestors( $term_id, $your_taxonomy );


0

The Smarter Navigation plugin by scribu has solved this need for me: https://wordpress.org/plugins/smarter-navigation/ Not completely perfect but recognises which taxonomy term is being used and provides appropriate links.



Top 50 recent answers are included