This feels like a really dumb question yet I haven’t managed to resolve it yet:
I’ve created a custom post type, given it some custom taxonomies and all’s good. I can view a post using utilising the single-******.php template and have set up a taxonomy.php template fine. But I can’t seem to work out how to view a list of posts from the new post type.
I have normal posts pointing to a page on the site and would like to keep those separate. So I want to point a menu item to a directory that will list the custom posts in the same way.
example.com/customposttype/custompost/ – works fine, returns a post.
example.com/customposttype/ – results in a 404 error.
I don’t know how to assign a template to the above directory?
Can anyone help?
- The topic ‘Listing posts from a custom post type’ is closed to new replies.