I have a country taxonomy with children taxonomies > state & city.
For a given entry for a restaurant in Nantucket, I want it to say "Nantucket, Massachusetts, United States (each linked to those taxonomy pages)", but the code I have gotten to work (I'm new to PHP) outputs:
Massachusetts, Nantucket, United States
$terms_as_text = get_the_term_list( $post->ID, 'country', '', ', ', '' ) ; echo strip_tags($terms_as_text);
How to I get this to order by the reverse hierarchical order of the taxonomy > City, State, Country?
Thanks, in advance, for any help!