Home › Forums › Other › How to get pagination to work with custom post types? › Re: How to get pagination to work with custom post types?
If you want to list custom posts with of type “doctors”, then copy the file archive.php and rename it to archive-doctors.php. If the custom post type has archives enabled, you should then be able to see them at http://www.yoursite.com/doctors and it should use the same pagination functionality as other blog posts (meaning, same number of posts per page).
In essence, when you go to http://www.yoursite.com/%5Bcustom post type name]/, WordPress will look for a file with the name archive-[custom post type name].php and use that as the template.
Further reading: http://codex.wordpress.org/Template_Hierarchy and definitely this graphic: http://codex.wordpress.org/File:Template_Hierarchy.png