I am trying to get three loops to display. they all belong to the same post type and the same taxonomy family. but i'm trying to separate the taxonomy by three different values.
$argsOwners = array( 'tax_query' => array(array('taxonomy' => 'position', 'field' => 'slug', 'terms' => 'senior-management' ))); $the_query_owners = new WP_Query( $argsOwners );
<?php wp_reset_postdata(); // reset the query ?>
$argsSales = array( 'tax_query' => array(array('taxonomy' => 'position', 'field' => 'slug', 'terms' => 'sales' ))); $the_query_sales = new WP_Query( $argsSales );
and i repeat again for the third term of "admin". the problem is only the first query will work. any ideas?
EDIT EDIT EDIT
I think i figure what the issue is. It had to do with whether is was logged in or not. if i was logged in then i would only see the for query displayed. but if im logged out then i get all 3 perfectly.