• Resolved Bloke

    (@bloke)


    I am tring to display posts with a custom taxonomy ad place them in order. Is there something I have incorrect in the query?

    $args = array(
    'tax_query' => array(
    array(
    'taxonomy' => 'rep_locations',
    'field'    => 'slug',
    'operator' => 'EXISTS',
    				 					
    'orderby' => 'id', 
    'order' => 'asc',
    			
    		)
    	)
    	 
      
      );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Order taxonomy query results’ is closed to new replies.