Archive template for custom post types
-
Hi
The codex says the archive page for a custom post type should be:
archive-{post_type}.php
I have a archive for resources: https://tsa.thedesignweb.com.au/resources/ which is using the archive.php templateI have tried creating archive-resources.php to make some changes, but it won’t read for the new template.
From firebug in body class I see template post-type-archive-resources.php, but even when I create one and call it this it won’t work.
Any ideas about what am I doing wrong?
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Archive template for custom post types’ is closed to new replies.