I had created the custom post type , and added page-attributes to the register_post_type, and created a page ( foo ) and added the page slug to the page template with
page-slug.php. The page template is displaying in the page ( foo ) I created but not in the custom post type the above image shows in the custom post type.
When i selected the page template in the page panel the template is not grabbed. But the post i created is displayed in the page(foo) with default
content.php template part