Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp_query order by taxonomy

$timeline_taxonomies = get_terms(array(
    'fields' => 'ids',   //get the IDs
    'taxonomy'     => 'taxonomy_name',
    'orderby'      => 'term_order',
    'hide_empty'   => true,
));
 
PREVIOUS NEXT
Tagged: #order #taxonomy
ADD COMMENT
Topic
Name
5+2 =