I have created a custom post type in wordpress and have 90% of the functionality working correctly, but I am having a bit of trouble trying to create a custom listing page template.
Currently it is using the default index.php page to bring out all the posts and I have tried to override this by creating a page-post-type.php page but didn’t seem to work.
What would be the best method for creating a custom post type listing page?
Cheers,
Jamie.
I think you want to create archive page for custom post type, create
archive-{post_type}.php
and it’ll display you custom post type content.Also see codex: http://codex.wordpress.org/Template_Hierarchy#Custom_Post_Types_display