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
- Custom Post Type Archive Page not showing
- Custom Post Types 404 Issue
- How to add custom content template part for a custom post type on main query using a plugin
- Loading custom page template via plugin
- Templates for Custom Post Types and Custom Taxonomies
- custom post type archive page url to point to Page permalink
- How to quickly switch custom post type singular template?
- Add Settings to Custom Post Type
- Custom Post Type Works but Still Shows “Page Not Found”
- Using Custom Templates for Custom Post Types for the Genesis Theme Framework?
- Rewrite custom post type url’s adding meta box values
- I can’t set meta_key in my custom post type query
- Archive page for taxonomy of custom post type
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Turn query string to sub page
- WordPress Template Hierarchy
- Custom query variable – get wordpress to redirect to nice permalink url
- is_page_template not working as expected
- add_rewrite_endpoint() and Custom Post Type Archive
- Add custom post type archives to search results?
- Second Custom Post Type Archive
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- How to show the archive / post type description on Single templates
- is_main_query() not working for WP REST API
- WP_Query | ‘post_type’ doesn’t work
- Editable Meta Data for Custom Post Type Archive Template
- Archives for Custom Post Types (without Pages)
- Custom post type templating problem
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Custom post type archive page blank
- Creating a Custom Post Type
- WordPress Doesn’t Generate Taxonomy Archive
- Custom Post Type slug same as page name
- Filter widget outputs
- Adding Page Templates to post but it ignored it
- WordPress custom taxonomy template not working
- Custom Empty Results page for my Custom Post Type
- How to set up Custom Post Type archive page as Front page
- Creating Sections for 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
- ACF for custom post type archive pages: which hook to use?
- Assigning alternate single-{cpt} template based on blog_id in multisite
- Show categories of custom post type and not all posts
- Removed custom post type archive page shows blog page
- Get template part with CPT and Custom Taxonomy conditionals
- Plain links in single-class.php and archive-class.php not working
- Custom permalink structure for remote content pages
- How can I add in post’s the text “No content”
- Pagination does not work on Custom Post Type archive while trying to get load more function working
- How to customize `Edit-Post` Screen
- Create a Custom Path to Archive
- WordPress sitemap with Custom Post Types
- Custom Post Type, Custom Taxonomy Template: How to get current taxonomy name?
- Archive page of CPT’s custom Taxonomy
- Archive page for WordPress Custom Post Type doesn’t show pagination from paginate_links()
- Custom post type archive URLs with a single taxonomy
- Custom post type author issues
- Custom post type defaults to index.php for archive page
- ACF Pro Accessing fields on a Custom Post Type
- Do not show child pages within a file page
- Custom taxonomy with custom post type archive page
- Question on templates
- Assign for all post of a post type a specific single-post template
- Taxonomy template file not working with a taxonomy that contains a slash
- How can I load Template file from wordpress plugin
- Custome post type “tags” pick default archive instead of custom post type archive
- Customize url from the_terms
- Want to display my custom date archive to date.php but dont know how
- Highlight a Post on archive page if it has a new comment?
- Custom Homepage As Single Page or Custom Post Type?
- WordPress Custom taxonomy template
- Use one template for different custom post types with the same markup
- Permalink of custom post type partly broken
- Custom page template not being called
- Custom Post Type Archive Links Not Working
- CPT archive as home page
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- Archive page of filtered posts
- Custom post type pagination, single page issue
- Why is this custom post type defaulting to archive.php?
- Multisite – Echo admins profile meta
- Custom template support for custom post type?
- Archive Page Pagination not working
- single-mySlug.php works: archive-mySlug.php does not. Custom Post Type
- has_archive for default post type
- Custom Post Type Template Based on Page Slug?
- PHP Button Custom link [closed]
- Pagination for Custom Post Type with Multiple Types
- Custom Post Type Archive Title Lowercase
- Pagination not working only on Archive-Name.php using new WP_Query
- Dynamic WordPress rewrite rules for multiple custom post types