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
- Custom Post Type Settings page, choose page to display archive
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- How to query custom posts using a dynamic category
- Adding Sticky functionality to Custom Post Type Archives
- Create Pages from Database
- Pages, Custom Posts & Custom Taxonomy defining slug structure
- How to show a tag archive of one post type only
- wrong template for page of archive
- archive-{$post_type}.php not loading. instead the default archive.php loads
- Archive page for custom post type not working
- Display custom post type taxonomies as an archive page
- Get archive post type name
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Limit the Title Length on Custom Post Type Archive Page to a Set Number of Characters
- How to Create Template File for Parent Page of Custom Post Type
- Custom post_type search pages
- How to hyperlink content from archive page with custom post-type
- CPT Archive pre_get_posts not working?
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- How to achieve a multi-taxomony layout with posts?
- Displaying all posts by category and showing content on click
- Custom post pagination not working
- How to override post-new.php with custom template
- Can I organise my custom post types by page?
- WP_Query is getting the post but the_post() not rendering any Post