How to change plugin`s template (view) correctly?

Here is a little code snippet to get you started. This will query through the most recent custom post types named “custom_post_type”. Change this value to the name of the custom post you wish to query.

<?php 

$args = array(
    'post_type' => 'custom_post_type', // <-- make sure to use the name of your custom post type here
);

$query = new WP_Query($args);

if( $query->have_posts() ) {
    while( $query->have_posts() ) {
        the_post();
        echo "<h1>" . get_the_title() . "</h1>";

    }
}

wp_reset_postdata();
?>

No plugin needed. If you wish to do some extra reading on custom queries for posts you can use the WordPress Codex site as a reference. Here is the WP_Query page: https://codex.wordpress.org/Class_Reference/WP_Query