taxonomy terms, inverted
yes it’s because you sort them by name and in order ASCending. because ‘orderby’ => ‘name’, ‘order’ => ‘ASC’ is the default setting. try: $term_names = wp_get_post_terms($post->ID, ‘marcamodelo’, array(‘fields’ => ‘names’, ‘orderby’ => ‘name’, ‘order’ => ‘DESC’, )); and it should be the other way around. here you have documentation of which parameters are possible … Read more