Landing testimonies
// WP_Query arguments $args = array( 'post_type' => array( 'testimonies' ), 'tax_query' => array( array( 'taxonomy' => 'category', 'terms' => 'landing', 'field' => 'slug', 'include_children' => true, ), ), ); // The Query $testimonies = new WP_Query( $args ); // The Loop if ( $testimonies->have_posts() ) { while ( $testimonies->have_posts() ) { $testimonies->the_post(); // do something } } else { // no posts found } // Restore original Post Data wp_reset_postdata();