What is the Custom Post Type template?
-
This one has got me a bit confused to say the least!
I have created a custom post type ‘awards’, and created a post in that type called ‘the-brits’
if I want a custom template for ‘the-brits’ it would be ‘single-awards.php’
but what is the template for ‘awards’?
I’ve tried awards.php or page-awards.php but both show 404s
I know I could just create a page called ‘awards’ then set a template for that but wouldn’t that defeat the point of a custom post type… ie its not a page or post.
All help or pointers appreciated
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘What is the Custom Post Type template?’ is closed to new replies.