I have the following scenario.
I have custom post type 'project' with necessary custom taxonomy and custom tags under it. Now the requirement is every 'project' data has its own different pages( with acf same as that of default page ) as menu in detail page.
So I am thinking of adding another custom post type as 'project page' under post type 'project' and treat it as default page of WordPress. Is this possible ? I tried searching for custom post type under another post type but to no avail. How am I to approach this issue so the permalink of page also has project slug in it.
Any help/suggestions are welcome.
domain.com/project/my-awesome-new-project/
– amarinediary'rewrite' => [ 'slug' => 'project/project-page', ]
should do the trick. – amarinediary