I'm looking to set a static page as the parent for a custom post type. Right now the parent page is showing all archives for that custom post type.

For example http://mysite.com/cpt would show content from page ID 20.

Is this possible?

Edit: I created a new Page with the slug /cpt, it did not override the custom post type archive parent.

1 Answer 1


Create a new template file named archive-cpt.php, where cpt is the slug of your CPT with the custom content and upload in your theme root.

More on Template Hierarchy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.