Home › Forums › Other › How to get pagination to work with custom post types? › Re: How to get pagination to work with custom post types?
May 18, 2012 at 8:35 pm
#103078
elmalak
Member
@Luminated;
Thank you for your help, however I am not sure how to integrate this with my code.
Here is my code,
$loop = new WP_Query( array( 'post_type' => 'doctors', 'posts_per_page' => 10 ) ); ?>
have_posts() ) : $loop->the_post(); ?>
Many thanks,