WordPress multiple loops with default pagination
try now this code <?php $paged = ( get_query_var( ‘paged’ ) ) ? get_query_var( ‘paged’ ) : 1; $title = get_term_by(‘slug’, get_query_var(‘term’), get_query_var(‘taxonomy’) ); $args = array( ‘post_type’ => ‘suppliers’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘ad_category’, ‘field’ => ‘slug’, ‘terms’ => array(‘basic_advertiser’), ), array( ‘taxonomy’ => ‘supplier_categories’, ‘field’ => ‘slug’, ‘terms’ => $title->slug, ), … Read more