The post type name is digital
(register_post_type( 'digital',
) so the template should be single-digital.php
.
Related Posts:
- single-{$post_type}-{slug}.php for custom post types
- What is singular.php?
- Custom Post Type Plugin: Where Do I Put The Template?
- CPT Template Not Showing – Getting 404
- Template for specific post of custom post type
- Multiple Single Post templates
- Display Editable Text Above CPT Archive Listings
- Is it possible to have an index page for taxonomy term for each custom post type it is assigned to?
- Custom Post Type with Nested Taxonomy and Template Files
- Archive or taxonomy pages not working for custom post type
- Single page template for custom post_type
- Trying to manage templates on a blog with lots of custom taxonomies
- WordPress Template Hierarchy
- Rewrite Custom Post Type URL slug
- Custom post type and taxonomy permalinks – Structure
- Help splitting a custom post type archive into “past” and “upcoming”
- Rewrite URL for only archive page (custom post type)
- Custom Taxonomy term archive template
- WordPress Ignoring My Custom Post Type Templates?
- Custom post type not using it’s own single-postname.php
- Include custom post type single template, but respect theme override of template if it exists
- Hook to override title, image and content
- Custom post type templating problem
- Custom post type showing index.php
- redirect automatic page that serves custom posttype content
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- WordPress Doesn’t Generate Taxonomy Archive
- CPT Template Not Showing – Getting 404
- Custom Empty Results page for my Custom Post Type
- Templates for hierarchical custom post type
- Custom Post Type homepage template
- Getting custom taxonomy posts on archive page
- Custom post types templates
- Archive page of taxonomy returns a 404 error
- Templating advice sub posts of a CTP
- custom post template not getting picked for posts with Unicode title
- Specific template for subcategory of custom taxomy
- How do I control what template is shown based upon Taxonomy Term?
- taxonomy – templates are not loading
- Templates for CPT not working
- 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
- Different taxonomy.php for different custom post types
- Custom Homepage As Single Page or Custom Post Type?
- URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php
- Custom post type category page not working
- CPT Template Not Showing – Getting 404
- List a custom taxonomy’s terms, with links, on the taxonomy page
- CPT Template Not Showing – Getting 404
- How can I sort posts ascending by post title for a specific post type, but on a category archive template?
- Custom taxonomy meta fields
- Custom Post Type Permalink / Rewrite not working immediately
- How to add custom content template part for a custom post type on main query using a plugin
- Many to Many Relationship between Two Custom Post Types
- Enforcing canonical URLs with multiple custom post types
- Custom Permalinks for Custom Post Types and Taxonomies
- how to group custom post type posts by custom taxonomy terms
- Single Post Pages for Custom Post Types
- Show ACF field from custom taxonomy and display on the single template
- Add Content Exclusively to a Custom Post Type Feed
- ‘Pages’ widget alternative for custom post types?
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- How to insert multiple images into a single post within a CPT
- Parent field missing from custom post type in the block editor
- Custom posts don’t work
- Pagination is not working in custom post type
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- filter custom post in rest api with custom function
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Custom Post Type Pagination Paginates Only in URL Structure
- Deny user access to edit post while allow him to edit custom post type
- Ordering custom post type by multiple custom fields
- Check if post with same meta value exists
- Pros and cons of a custom page vs custom post type template file
- Recoverable Fatal Error – Object of class WP_Post could not be converted to string
- Running a song lyrics site on WordPress
- Getting all ID’s matching a title in a custom post type
- Topic won’t save for a custom post type — how to debug?
- How do I replace the post title with a custom field?
- How can I add custom fields in a custom post type? [duplicate]
- Change Dropdown jQuery to show/hide but with default place holder that shows all
- Get List of Terms based on a given term (different taxonomy)
- Custom post type archive URLs with a single taxonomy
- How to get rewrited name of cusom taxonomy?
- Custom Post Type 404 Error even after flushing rewrite rules
- Update/publish custom post type with jQuery?
- Custom Post Type slug and WPML gets 404 error
- Custom post type: “transition_post_status” action get title and other fields
- Possition a Custom Post Type Tab under Settings
- Pretty permalink structure with multiple (AND OR) taxonomies
- WordPress Custom taxonomy template
- Custom Post Type Categories Not Maintaining URL structure any more
- CPT unsaved draft gives error 404 – when Post Formats support enabled
- Custom Post Types and Child Themes!
- Diffrent search templates for different post types
- Check if taxonomy is attached to at least one post in a post-type
- Getting 404.php instead of single-.php [duplicate]
- Display div based on Group metabox selection [closed]
- add_rewrite_rule not working in Custom Post Type UI Plugin