How to limit post per page of custom post type?
you can use posts_per_page in the args array to solve your problem. query_posts( array( ‘post_type’ => array( ‘episodes’, ), ‘posts_per_page’ => 5, ‘paged’=>$paged, ) ); Read more on https://developer.wordpress.org/reference/functions/query_posts/