Have a look at the template hierarchy that WordPress follows.
Since the sub page is a single custom post type. You could put the code you require to output for the sub pages in single-[post-type].php
Related Posts:
- Page is defaulting to archive page and not designated template
- Set up Custom-Post-Type Author Archive
- Create template for taxonomy results limited by Custom Post Type
- How can I use archive-{post_type}.php theme template?
- get_permalink() of page the enclosing page not posts
- Custom post type with two templates
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- Limit the Title Length on Custom Post Type Archive Page to a Set Number of Characters
- Custom post type archive with page as parent url
- Add parent post to Custom Post Type [closed]
- Set featured image to archive.php
- Custom post type pages return 404 page?
- WordPress 3.9 not using custom template
- Template files for Custom Post Type and Taxonomy
- Set templates for custom post types
- How to Create Template File for Parent Page of Custom Post Type
- Custom post_type search pages
- What’s the name of the custom post type yearly archive template?
- Custom post type, global categories — what’s the template name?
- how to remove pages loading with the archive templates
- Main query not querying any posts in custom taxonomy template
- Custom Empty Results page for my Custom Post Type
- How to hyperlink content from archive page with custom post-type
- Custom posts template page
- Set thumbnail and title for a post type archive (not post itself!)
- How to set up Custom Post Type archive page as Front page
- Url to archive page for custom post type
- Loop through custom posts by taxonomy and display the titles in a list, it is repeating 8 times
- How to display CPT archives?
- Custom meta Title for custom post type archive from page
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Return the name of the post type
- make permalink go to a custom single.php file
- Add Previous/Next Buttons to CPT Single Pages Only
- Creating Sections for Post Types
- Custom post types with categories in template
- current-menu-item not added on page showing custom post type (rendered with archive template)
- Alphabetically sort a taxonomy.php template by post title
- Creating separate feeds for custom post types
- Which file/template is in charge of taxonomies for custom post types?
- How can I trace inconsistency in loading a template?
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- How to integrate single and archive templates for custom post type in any WordPress theme
- Permalink problems with custom post type and custom taxonomy
- sort CPT on Custom Taxonomy Archive page
- How to get_term_meta on single custom post?
- ACF for custom post type archive pages: which hook to use?
- Use the custom post type archive for taxonomies?
- Assigning alternate single-{cpt} template based on blog_id in multisite
- How do I find a way to create a global single.php for a custom post type?
- How do I assign a block template (.html) to a custom post type?
- Templates for hierarchical custom post type
- How to use single.php for creating, reading and editing Custom Posts with ACF
- Custom Post type date archive for custom taxonomy
- Custom Post Type setup
- Show categories of custom post type and not all posts
- Apply template by path/slug related to custom post type?
- assign different templates to custom post type with homepage loop
- How to get the current category with custom posts
- Custom post type is using the index.php template
- Assign a template to a custom post type when displayed by the main loop on the home page
- CPT Archive pre_get_posts not working?
- adding custom post type “name” to single template
- Removed custom post type archive page shows blog page
- Get template part with CPT and Custom Taxonomy conditionals
- Custom Post Type Archive template not being called
- Template code to split a post and print a custom field?
- Displaying a list of Contacts
- How to create a template to show child terms of a MAIN taxonomy
- Custom Post Type with Configurable Sidebar via ACF
- How to change single custom post template by custom taxonomy?
- Custom Post Type homepage template
- Query Posts that have Custom Taxonomy
- Plain links in single-class.php and archive-class.php not working
- Custom permalink structure for remote content pages
- Custom Post Type Custom Archive Page Not Working
- Getting custom taxonomy posts on archive page
- Setting a homepage – doesn’t seem to work
- How to create a archive template for custom post type [duplicate]
- add_action ‘init’ from inside a class for custom post types
- Archive page for custom post type and custom taxonomy
- WP not recognizing custom post type / template
- Archive Template being used instead of Category Template for Custom Post Type
- Custom post type archive – error in nav-menu-template.php
- Custom post type draft use wrong template
- List of a specific Custom Post Type in Custom Template
- 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
- How can I add in post’s the text “No content”
- Order Custom Post Type Archive by multiple values in functions.php
- Custom post type category permalinks and archive pages
- Require custom post type if is_admin() – template doesn’t show up?
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Pagination does not work on Custom Post Type archive while trying to get load more function working
- CPT archive page – show one post from each taxonomy term
- How to customize `Edit-Post` Screen
- Get single posts archive information
- How to have multiple archive pages?
- Calling a div and content in php?