Page is defaulting to archive page and not designated template

This conflict normally happens when a custom post type archive and a normal wordpress page has the same slug. The custom post type archive has the higher priority here.

If you have a custom post type by the name ‘Projects’ and ‘has_archive’ is set to true for the custom post type then the conflict will arise. Set ‘has_archive’ to false so that it shows the page template. Or you could also create a archive-[post-type].php and style it in accordance with your portfolio page template.

Leave a Comment