[Resolved] Custom Post Types – confused
SO i’m trying to use Custom post types for a change so that I learn something new.
I am completely stumped by a few things. Cany anyone clarify?
I want to have a page with a list of my custom post types showing i.e. like the default category.php but for custom post types. I look on the codex and it says that the hierarchy for CPT is archive.php then index.php. So i add my loop to archive.php… how then do I view this list of CPT? What’s the URL? If I view my individual CPT i see the url:
SO I want to access the page:
that would list all my CPTs. However this page does not exist.
Then i read that I need to add the loop to page.php… how come this is not listed in the template hierachy for CPTs?
I think this shows my lack of understanding of CPTs. I want them to be a substitute for categories and posts I suppose but it looks as though they are not.
Please can someone explain?!
- The topic ‘[Resolved] Custom Post Types – confused’ is closed to new replies.