I found the problem.. when creating the custom post type i set the argument “has_archive” to true and that was causing a conflict so my page-portfolio.php was not loaded. Also had to change the slug of the custom type field because it had the same slug as the page, so both of them were “portfolio”.
Related Posts:
- Custom post type single-{custom}.php not working
- What is singular.php?
- Made Custom Post Types, but single.php not working
- Associate page w/ specific single post template?
- Custom Post Type Specific Post Template
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Loop all post on single.php
- Query custom post type and showing its content
- Can you programme the selected page template to display block patterns automatically?
- How to disable the single view for a custom post type?
- How to set a fall back template for a custom post type in a plugin?
- Post formats “audio” and “video” only showing in index.php
- How do I Make a custom post type get a custom post template in a plugin
- Dynamic page.php template for custom post types
- Create sub single pages
- Template tags to display custom post type posts in category template?
- Custom Search form not working in localhost
- single-type.php not working, delivering 404
- Multiple templates for custom post type
- How do I create a custom post type for a training CMS in WordPress?
- How do I create a page template to display a custom post type?
- Multiple Content Block
- How to make an archive page displaying posts in a date range
- How do I create an archive page for standard posts?
- Remove parent from custom post type
- After updating a page, all pages on the site used the index.php template
- Page Templates Drop Down Select for Custom Post Types
- Using custom page templates with plugin [duplicate]
- pagination redirecting from page number url before page requested
- Troubles with making a custom template for posts
- Need to display same custom post type on 2 different singles templates
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- Change archive page template using pre_get_post
- Allow non-logged in users to see a future post after clicking on a list of future posts
- custom post type parsed as attachment
- Query & Order posts by custom fields
- custom taxonamy and post type
- Not Able to Get Custom Post Type Gallery Images URL
- WordPress showing archive.php instead page
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- Setup template_redirect using has_term when NO term assigned
- Building a Treatments Page, What Do I Use?
- Adding the_content() in custom template email
- Single page not working for custom post type
- Display custom post types in wp_list_pages
- Two column layout with alphabetical ordering
- Api rest_route 404 while building filter for custom posts (filtered by multiple meta keys / custom fields)
- how to get this tax_query working?
- hide specific div on single.php [closed]
- Custom post type’s posts are not showing anywere but in xml sitemap
- How do I find a way to create a global single.php for a custom post type?
- Dynamic assign a custom template to custom post type posts
- How to get the current category with custom posts
- Assign a template to a custom post type when displayed by the main loop on the home page
- If Post type use sidebar (‘tree’)
- Having Issue on Getting Metabox Checkbox Value
- How to add page under a custom post type?
- trying to show single post but displays all post on a custom post type
- Custom meta box in custom post type not working
- Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category
- How can I tell if I’m on a custom post type archive page?
- Conflict in function to allow single post template based on category
- Front end create custom post types
- How To Display Posts Of Custom Post Type At Page Template
- How can I make reusable post types with complex custom field structures?
- Custom post type single page 404
- How do I find out which (page) template file my custom child post is looking for?
- How to search through all child taxonomies using WP_Query?
- How to use posts as tabs in a custom page?
- Custom Post Taxonomy Template Not Loading Properly
- Shortcode and get_template_part
- Problem with multi checkboxes value in metabox?
- How can I use one instance of page.php to display different custom post types?
- Create dynamic logo carousel without using any plugin
- Why custom post redirecting to index page?
- How to make “single post” permalink maintain it’s sub-page structure
- How to display a custom post as a page (but unedited)?
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- How to set class to “current-page” on the currently viewed single post within a CPT
- Can not hook into custom post type template with: is_page() conditional?
- Page Template For Custom Post Type doesn’t work on URL containing CPT name, other URL’s work
- Pulling in Related Posts based on Post Type array
- How to Display CPT Posts on index Page
- How to create a custom template for this custom post type?
- Issue on Counting CPT’s Under Taxonomy Term
- Single page problem when permalink type changed
- How to divide posts (custom post type) content on multiple pages?
- how to load custom single.php?
- Function that get ACF fields value before saving
- Single Page for two custom post types
- Author profile comments system
- Display Custom Taxonomy of custom post type
- Custom page template not recognized with permalinks on
- Create custom post order (with custom post type meta)
- Custom post type and custom taxonomy archive inaccessible
- Apply custom names for generic custom taxonomy name?
- Change position of Post Formats box?
- Category names on CPT archive pages [closed]
- Page template anomaly
- Single page for Custom Post Type not found