Why does my taxonomy code display the first alphabetical term?
With wp_get_object_terms() you’re able to manipulate the sorting. Make sure you tweak the sorting to what you want. Try something more or less like this (Updated: 5/17/2012 — 8:15AM): $taxonomyName=”producttype”; $terms = wp_get_object_terms($wp_query->post->ID, $taxonomyName, array(‘orderby’ => ‘name’, ‘order’ => ‘ASC’, ‘fields’ => ‘all’)); if(!empty($terms)){ if(!is_wp_error($terms)){ for($i = 0; $i < count($terms); $i++){ if($terms[$i]->parent != 0){ … Read more