I read a bit more about posts and added a few params to the code:
$loop = new WP_Query(
array('post_type' => 'features',
'tax_query' => array(
array(
'taxonomy' => 'features_categories',
'field' => 'id',
'terms' => $term->term_id,
)
),
'posts_per_page' => -1,
'suppress_filters' => false,
'orderby' => 'title',
'order' => 'ASC',
));
-
This reply was modified 6 years, 12 months ago by mlasuzzo.