I am using WordPress with the Premiumpress plugin for a directory site. The author has provided me with some code to output one of the custom taxonomies for the location of listings.
<?php echo get_the_term_list( $post->ID, 'location', '', ', ', '' ); ?>
This is great and gives the country, state and city, but unfortunately it is in alphabetical order. I need it to be in the country, state and city order like so:
Australia >> Victoria >> Melbourne
Would like to hear any tips or ideas for how I can arrange it like so?
- The topic ‘displaying custom taxonomies in particular order’ is closed to new replies.