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?
- Help need making decision. Ads rotating site on wordpress
- Query & Order posts by custom fields
- custom taxonamy and post type
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Return the latest post from a custom Taxonomy and Post Type
- Don’t know how to show custom taxonomies from a custom post_type
- Single template showing all posts of that type
- Not Able to Get Custom Post Type Gallery Images URL
- JS innerhtml changing style when using AJAX
- Display a grid of taxonomy terms at root taxonomy page
- redirect automatic page that serves custom posttype content
- Adding sidebar to template creates horizontal gap the size of the side bar
- WordPress showing archive.php instead page
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- Programmatically rewriting slug through functions.php but returns 404
- How to change the post type a theme shows by default?
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- How to render a custom post type template with custom fields using shortcode
- Event Custom Post Type Title show by upcoming Event Dates
- How to have this permalink structure: post_type/postname/custom_inner_page
- How to display single post from custom post type loop?
- Setup template_redirect using has_term when NO term assigned
- Building a Treatments Page, What Do I Use?
- Show Custom Post Type meta boxes only on Page Edit
- Adding the_content() in custom template email
- Creating a Page Template to display all items from a Custom Post Type
- Filter widget outputs
- Why does my content disapear when I make a page to match an archive name?
- Custom Post Type Template Alternative
- Custom post types and category archive
- General advice on addressing content-centric pages
- Fields for different parts of a page
- next_/previous_post_link() `in_same_category` appears to fail when true
- Multiple templates for single custom post type
- custom comments form for custom post type
- How to produce a sub-page-system in WordPress
- How do you create a custom template to display a category with an image and related posts below?
- WordPress Custom Search by post_type
- WebP Fallback for Inline Background Image in Style Attribute
- Not Able To Render Single-CustomPostType.php File
- How to specify a template for a path like http://example.com/something?
- Pages Become “Archive” Instead of Using Page Template
- How can I set the page template of a new custom post type post?
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- Single page not working for custom post type
- Custom post type pages return 404 page?
- single-{post_type}.php not working
- Warning: Invalid argument supplied for foreach() in post.php [closed]
- Get term name without a foreach loop
- Cant get paginations on single.php to work with my custom post types
- Including all post id’s of a custom post type into an array
- Multiple single templates?
- How can i link a custom post type thumbnail to intermediate size
- i cant see the max_num_pages of a custom wp query
- Archieve.php not loading for custom post type
- Custom URL redirect in WP
- Getting Un Wanted Gallery Shortcode In The Page on Loop
- WordPress Picks Up Wrong Template for Custom Post Type Archive Page
- Display custom post types in wp_list_pages
- detect your custom post type in WordPress
- Display custom post using ID
- Custom WP_Query doesn’t display all posts
- Specify a particular page to list all custom types
- WordPress app page not found error for posts with hyphen in permalink
- Where is the sticky post option?
- List of users that clicked a ‘Join’ button at single post
- Include php on a specific page template
- get comments by current user inside page template
- page template for custom post type
- Page Template Dropdown For Custom Post Types
- Two column layout with alphabetical ordering
- Create a comments template for custom post types
- Custom post type permalink sends to 404.php
- WP_Query with custom post type ID
- Inserting custom fields into single.php
- 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]
- How to integrate single and archive templates for custom post type in any WordPress theme
- Show Taxonomies with admin area for custom post type?
- Pagination doesnt work in custom post type
- Archive links for custom post types
- Include custom post type custom taxonomies in Categories widget
- Template Hierarchy for custom post type pages
- Should Custom post types and fields be in the theme files or in a custom plugin packed into the theme?
- Custom post type’s posts are not showing anywere but in xml sitemap
- providing access to post_id or post inside functions.php
- How do I find a way to create a global single.php for a custom post type?
- wp_get_canonical_url showing first url of the post for custom page
- Custom page for editing custom post type on frontend based on url