Use the following code in your filter args section
Change custom_category with category name
Full code
'tax_query' => array(
array(
'taxonomy' => 'custom_category',
'field' => 'slug',
'terms' => 'category-slug',
),
),
Change custom_category with category name
Full code
$type = 'management-team';
$args=array(
'post_type' => $type,
'post_status' => 'publish',
'posts_per_page' => -1,
'caller_get_posts'=> 1,
'tax_query' => array(
array(
'taxonomy' => 'custom_category',
'field' => 'slug',
'terms' => 'category-slug',
),
),
'orderby' => 'menu_order',
'order' => 'ASC',
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post();
print the_content();
endwhile;
}
wp_reset_query();