prr query
prr
// WP_Query arguments $args = array( 'post_type' => array( 'entrevista' ), 'post_status' => array( 'publish' ), 'posts_per_page' => '10', ); // The Query $prr_query = new WP_Query( $args ); // The Loop if ( $prr_query->have_posts() ) { while ( $prr_query->have_posts() ) { $prr_query->the_post(); // do something } } else { // no posts found } // Restore original Post Data wp_reset_postdata();