Here’s what I’m thinking I want to do…
Create custom post type
Have a ‘landing’ page that displays all the custom posts.
I’m getting the hang of custom post types and wondering if I wanted a ‘landing’ page that pulled all of the custom post type entries, should I be making a template using the archive instead of a page?
I played around with custom page templates and I like how a link to the page automatically shows up in the navigation.
I’ve also noticed if I make a page and have a custom post type of the same name (same name on the slug) I’ll land on an archive.php template when I click the page’s link in the navigation.
Is there a best practice approach for using a cpt with a page or is it automatically considered an archive? Or something in Codex I should be reading or re-reading 🙂
Sorry if I just asked the same question a bunch of different ways.
- The topic ‘Custom Post Type: Page vs Archive’ is closed to new replies.