How can I set the page template of a new custom post type post? July 12, 2022 by Tarik Billa You need to create the template files within your theme using the correct naming. Please see: https://developer.wordpress.org/themes/template-files-section/page-template-files/#creating-page-templates-for-specific-post-types