Show Posts Based On Custom Taxonomy ID

Share Now

$team_args = array(
'post_type' => 'team',
'posts_per_page' => 99,
    'tax_query' => array(
        array(
        'taxonomy' => 'company-category',
        'field' => 'id',
        'terms' => 12
        )
    ),
);
Picture of Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert