In some cases, the permalink structure must be updated in order for
the new template files to be accessed when viewing posts of a custom
post type. To do this, go to Administration Panels > Settings >
Permalinks, change the permalink structure to a different structure,
save the changes, and change it back to the desired structure.
from http://codex.wordpress.org/Post_Types#Custom_Post_Type_Templates
Related Posts:
- Can I assign a template to a custom post type?
- Searching multiple custom post types and pages
- Taxonomy, Terms, and Template Files
- tag.php doesn’t work with tags on a custom post type post?
- Assign single template to multiple custom post types?
- Using Templates with Custom Post Type UI
- Get page by template?
- Custom taxonomy query for a custom post type
- Custom Post Type Archive URL takes over page URL
- Custom Post Type Archive Template
- Custom templates for posts like for pages: page-{id} vs single-{id}
- Posts in Multiple Columns and Rows with one single loop
- How do I create new content pages for my Custom Post Type?
- Display different gutenberg template from selected post attributes
- Clean URL permalink for custom post type
- where can I see my custom post type archive template?
- Auto Draft Specific Categories Posts after a certain number of Days
- Create separate template for shared custom taxonomy with shared terms
- Trying to manage templates on a blog with lots of custom taxonomies
- How to get current post id of a custom post type in a loop using template singel-{custom type}.php?
- wordpress 3.4 template files in subdirectories
- Pagination Issue: Custom Post Type In Index
- Create second custom 404 page for selected post type
- I am trying to output portfolio items with a picture. This code doesn’t seem to be working. What am I doing wrong?
- Help with CPT template pagination
- Merge multiple custom post types in a single archive template
- Custom Search for Drafts in Custom Post Type
- Create Template for Custom Post Type same like for Page
- Custom template page with custom archives listing by user
- Custom Post Type template stored in plugin folder not showing in post attributes dropdown
- How to clone the “Projects” Custom Post type in Divi theme
- Custom post type content using custom fields without template
- Custom taxonomy and custom post type – wrong permalinks and template
- Can I override a CPT template on a per post basis with Gutenberg block editor?
- How to use custom template files in deeper directory?
- A case for Hierarchical Custom Posts
- Custom taxonomy returns 404
- Flush Rewrite Rules when new site is created on network
- How can I get this request to use the Custom Post Type page template instead?
- Archive for a Taxonomy of a Custom Post type
- Custom post type pages return 404 page?
- Set templates for custom post types
- Main query not querying any posts in custom taxonomy template
- How can I use archive-{post_type}.php theme template?
- make permalink go to a custom single.php file
- Which file/template is in charge of taxonomies for custom post types?
- How do I assign a block template (.html) to a custom post type?
- Custom post type is using the index.php template
- Template code to split a post and print a custom field?
- How to create a template to show child terms of a MAIN taxonomy
- Custom Post Type homepage template
- Archive Template being used instead of Category Template for Custom Post Type
- Create a custom taxonomy template that loops through child categories in term order?
- Display Posts Query with IF function
- My template won’t apply, theme still fallback to index.php
- Set generic reservation form for custom post type
- One Custom Post Type two different Templates
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- handling templates and widgets for custom content types
- On click some element i want to use some template
- Post template with breadcrumb needs to show page navigated from
- Add custom template ‘sub-page’ to Custom Post type?
- Load info from customposttype into template page
- custom post template design with dropdown option
- Accessing download link from the loop with WP Download Manager Pro
- Custom post type single page uses the right template in preview mode but shows a different template after being posted
- Warning , Use of undefined constant PLUGIN_PATH?
- Post Attribute Section missing for Custom post type
- How to assign post to category
- Custom taxonomy with custom post type template not showing
- Custom taxonomy template for custom fields loop [closed]
- WordPress Custom Post Type – Post Attribute: Template. Template shows up and saves on the back end, but the default theme file is being rendered
- Single taxonomy for different custom post types
- Values show up in custom home page but not in custom post pages
- How should i name the .php file to show custom posts under a taxonomy’s term?
- Organising custom taxonomies and custom post types
- How to make a custom search template for custom taxonomy?
- Include template if a post is a single product
- Custom Post Type tag taxonomy “Page Not Found”
- DIVs not showing correctly on CPT?
- How to decouple custom post types components from template?
- Show Templates in Custom Post Type Editor
- template structure for CPT not clear
- Parent to another Custom Post Type – Template files not being recognized
- How to avoid hardcoded text in a custom page template?
- Load different template for CPT (in loop) in my plugin?
- Having some trouble properly displaying Custom Post Types in templates
- query_post while (have post) get_template_part()?
- Template with Custom Post Type (Custom Tables) does not work
- Capability to read user’s own draft post of CPT
- Using custom post types within a section of a template
- Listing all custom post types using a specific term on the said term’s template page, in groups
- Most appropriate way to display CPT’s by children terms of custom taxonomies while retaining desired permalink structure?
- Problem retrieving custom field for a custom post type
- Only One Post of Custom Post Type Appearing on Template Page
- CPT Template Option to Top
- How to create custom page templates with default page layout framework?
- Choose custom post type template by category
- using a template for more then 1 page
- Why isn’t page attributes dropdown not showing up in a custom post type