• I would like to print the terms from a custom taxonomy in a certain order.
    Am I correct that get_the_term_list can not ne sorted?

    If yes, can it be done through
    $terms = get_the_terms( $post->ID , 'sectors' );

    Suppose I have a taxonomy Sectors: Alpha, Bravo, Charly, Delta, Global

    Ideally, if the term list contains Global, I would like it to be the first in the list (with permalinks):
    Global, Charly, Delta
    Instead of
    Charly, Delta, Global

    What if I wanted the list in reverse order D,C,B,A?
    Thaks for your help.

  • The topic ‘custom taxonomy sorted’ is closed to new replies.