- This topic has 0 replies, 1 voice, and was last updated 2 years, 7 months ago by .
I have a category tree with 3 levels ( category > type > subtype ). In my code I'm declare query arguments to retrieve the terms in alphabetical order. In firts level (category) the rule is applied, but in levels 2 and 3, the rule is not applied.
array( 'id' => 'category-and-types', 'type' => 'taxonomy', 'name' => esc_html__( 'Categoria, Tipo e Subtipo', 'webpesados' ), 'placeholder' => esc_html__( 'Selecione', 'webpesados' ), 'taxonomy' => 'category', 'query_args' => array( 'orderby' => 'name', 'order' => 'ASC', ), 'field_type' => 'select_tree', 'class' => 'web_select_tree', 'columns' => 6, ),
- You must be logged in to reply to this topic.