Custom post type with two templates

Assuming post type is my-post-type.

We can create a page template with custom query using WP_Query.

Let’s say we create template-multier.php with the below code in the root directory of the active theme.

<?php
    /*
    Template Name: Custom Post Type Archive
   */

    //Custom header stuff here

    //Custom query for `my-post-type`

    $args = array(
        'post_type' => 'my-post-type',
        'posts_per_page' => '-1' // All posts
    );

    $the_query = new WP_Query( $args );

    // Sample Loop
    if ( $the_query->have_posts() ) {
        echo '<ul>';
        while ( $the_query->have_posts() ) {
            $the_query->the_post();
            echo '<li>' . get_the_title() . '</li>';
        }
        echo '</ul>';
    } else {
        // no posts found
    }

    /* Restore original Post Data */
    wp_reset_postdata();

    //Custom footer stuff here

Then we can use above page template to display posts with my-post-type