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.
Related Posts:
- Create template for taxonomy results limited by Custom Post Type
- How can I use archive-{post_type}.php theme template?
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Proper way of making custom post type landing page or archive page
- How do I display two separate taxonomy archives for two post types that share a single taxonomy?
- Custom Post Type Archives by Date with Custom Permalink
- Change title in head on Archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- Custom Post Type Archive URL takes over page URL
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- paginate function in archive for custom-post-type
- where can I see my custom post type archive template?
- Custom post type archive sorted and grouped by date in post meta field
- How to create archive page for taxonomy terms within custom post type
- WordPress custom post type archive with description
- Custom-post-type-archive: posts sorted/filtered by year?
- How to list custom post types?
- Custom post type archive page pagination
- Editable content on a Custom Archive page
- Second Custom Post Type Archive
- How to show the archive / post type description on Single templates
- is_main_query() not working for WP REST API
- Custom template page with custom archives listing by user
- CPT Archive with core Category
- Set up Custom-Post-Type Author Archive
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- get the custom post type title/name
- URL of a custom post type’s post format archive?
- Custom post type archive page blank
- How to display custom post in archive section of the wordpress page?
- How can I get this request to use the Custom Post Type page template instead?
- Archive for a Taxonomy of a Custom Post type
- What’s the name of the custom post type yearly archive template?
- how to remove pages loading with the archive templates
- Return the name of the post type
- Use the custom post type archive for taxonomies?
- Custom Post Type setup
- Archive page for custom post type and custom taxonomy
- Archive Template being used instead of Category Template for Custom Post Type
- How to have multiple archive pages?
- Create a Custom Path to Archive
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Specifying a template for custom post type pages
- WordPress sitemap with Custom Post Types
- Is possible register two archive pages for single custom post type?
- Custom Post type page content (archive page)
- Group custom post type posts by month
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Do not show child pages within a file page
- Tell wordpress to show a single page instead of an archive page
- Custom Post Type archive page listing a 404 or single post
- Turning archive templates to a page template maintaining the slug
- get_permalink() of page the enclosing page not posts
- Want to display my custom date archive to date.php but dont know how
- Custom post type with two templates
- Custom Post Type tag taxonomy “Page Not Found”
- Rewriting archive page slug to be different than custom post type slug
- Site loads very slow for archive custom post type page
- Stop Custom post type from being searched via URL
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- Custom post type category page not working
- paging is not working properly on news archives page [duplicate]
- How can I set up the URL for a category archive for a custom post type?
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Pagination not working for archive
- how to pass args for archive.php query?
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Remove plugin’s custom post type archive page and single pages [closed]
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- Remove date rewrite rule for custom post type archive page
- Custom taxonomy in custom post type archive with pagination
- Why isn’t my custom post type using the corresponding custom post template?
- date archive future posts
- Show Templates in Custom Post Type Editor
- why custom post archive gives always no more than 10 posts despite of paging settings?
- template structure for CPT not clear
- Redirect to different template other than single-custompost.php
- Custom Homepage As Single Page or Custom Post Type?
- Parent to another Custom Post Type – Template files not being recognized
- WordPress Custom taxonomy template
- custom post type plugin – single template
- Custom Post type archives / categories give 404
- Pagination fault in custom post type archive page [duplicate]
- Custom post types archive
- Templates list in “Page Attributes” metabox is inaccurate
- Keep same archive.php for post from archive?
- Use one template for different custom post types with the same markup
- How to avoid hardcoded text in a custom page template?
- Permalink of custom post type partly broken
- archive.php can’t find categorized posts
- Remove the “View” Link in Post edit Admin
- Custom page template not being called
- Custom Post Type Archive Links Not Working
- archive-{custom_post_type}.php not getting recognized wordpress
- Archive.php is not displaying tags
- CPT archive as home page