After some digging I found the answer!
Hopefully this helps some other people!
EDIT
Improved Answer!
<?php
$args = array( 'post_parent' => get_the_ID(), 'post_type' => 'airports', 'posts_per_page' => -1 );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
?>
<h2><?php the_title(); ?></h2>
<a href="https://wordpress.stackexchange.com/questions/222748/<?php the_permalink(); ?>">
<button><?php _e('View', 'text_domain'); ?></button>
</a>
<?php endwhile; wp_reset_postdata(); ?>
Related Posts:
- Nested custom post types templating
- What is singular.php?
- What are the differences between custom post type and custom page templates?
- Page Template as Custom Post Type Archive
- Setting a custom sub-path for blog without using pages?
- Add Content to Page without shortcodes
- Loading custom page template via plugin
- Post formats “audio” and “video” only showing in index.php
- Ordering Posts List By Taxonomy Terms?
- Creating a Custom Post Type for Inserting Preset Content into Post & Pages?
- WordPress keeps fetching the archive page instead of the template page
- Include php on a specific page template
- List of child custom post types lists all custom post types
- get comments by current user inside page template
- page template for custom post type
- Page Template Dropdown For Custom Post Types
- How to integrate single and archive templates for custom post type in any WordPress theme
- providing access to post_id or post inside functions.php
- 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
- Dynamic assign a custom template to custom post type posts
- How to get the current category with custom posts
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- How to add page under a custom post type?
- Custom permalink structure for remote content pages
- Enabling permalinks disables custom page template
- List child categories from parent category on custom taxonomy page
- Custom Post Type Specific Post Template
- Mixing Custom Post Types and Page Templates in WordPress 3.7.1
- Custom Post Type Template Insert not working properply
- Loop and add Specific Categories and Products Images
- custom post template ignored after altering permalinks
- Custom Post Type page template doesn’t show up
- Only looping through pages that have children or subpages
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category
- Display ONE taxonomy and its assigned pages
- Display custom post type from template
- Problem with custom loop navigation inside the blog page
- WordPress giving me the index
- How to use pre_get_posts on archive page custom post type
- Can I automatically assign a page template to a custom post type (i.e page-slug.php file)
- How To Display Posts Of Custom Post Type At Page Template
- Virtual page and loading template
- Custom Post type dont use custom page template (slug is not right)
- How to change Elementor Template for Single Page Post on Load
- A certain theme is forcing it’s singular post layout
- How to create additional rendering for custom post types?
- Query to Exclude Child Pages from Custom Post Type Archive
- check if current page is a child of a specified top level page
- Modify Custom Post Type Slug
- How do I find out which (page) template file my custom child post is looking for?
- WordPress Page hierarchy ( parent is singular of custom post types slug ) is returning not found
- How can I create a button that when clicked populates a div with a list of foods that are checked as a certain type of ACF?
- Custom post type not pulling CSS
- Set a template on a custom post in the plugin
- How can I use a custom template to load custom post type posts based on a post_meta value
- How can I use one instance of page.php to display different custom post types?
- Showing Custom Post Type with his templates on a custom page template
- Displaying posts inside table having issues
- Question on templates
- Custom post type option page template
- Custom post Query and WordPress Post Query Clash
- How can I load Template file from wordpress plugin
- Custom post type loop without children
- How to display a custom post as a page (but unedited)?
- How can I find out what template is my custom post type using?
- Search custom post type result in same template page
- Custom post type , page template not grabbing the page template
- Running get_posts within get_posts to get children of children
- Show index and not the archive for “Dog Custom Post” with default slug
- WordPress custom post type and page
- Ordering Posts List By Taxonomy Terms?
- Loading a template for a URL pattern
- Help understanding custom post type and children
- get children from current variable (taxonomy) via shortcode
- Can not hook into custom post type template with: is_page() conditional?
- custom fields not showing before get_header
- Custom Homepage As Single Page or Custom Post Type?
- Page Template For Custom Post Type doesn’t work on URL containing CPT name, other URL’s work
- custom post type archive slug vs. custom page template
- Custom Post Type Pagination Not Working or Single Posts Displaying?
- How to create a custom template for this custom post type?
- Templates list in “Page Attributes” metabox is inaccurate
- Custom Post Type & Page Template
- Query custom post type and showing its content
- How to divide posts (custom post type) content on multiple pages?
- How do I sort post listing by child post count?
- Modifying and Displaying URL’s in a Post Template using parse_url
- Display Custom Taxonomy of custom post type
- Custom Post Type children and grand-children in one list
- Custom page template not recognized with permalinks on
- Multiple search template with separate stylesheets
- Using custom post types within a section of a template
- How do I paginate a custom post type listing on a custom template page?
- Custom Post Type order Title ASC
- get tags from custom post type
- Dynamically change Custom Post Type Template OR Change Permalink?
- Page template anomaly
- Custom Post Type Template Based on Page Slug?