CPT archive page with a subpage
-
Hi there,
I have a CPT called supervisors, which uses archive-supervisors.php. to access this the slug is /mysite/theme/supervisors
This all works, however i need to create a sub-page called “information for supervisors” – with the url being /mysite/theme/supervisors/information-for-supervisors
however this obviously creates a 404 as there’s not a supervisor called “information for supervisors” – so how do i get around this issue? I’ve looked into rewrite rules but am not sure exactly of the syntax required.
Any help would be greatly appreciated!
Thanks,
FJ
- The topic ‘CPT archive page with a subpage’ is closed to new replies.