Custom Post Type Template Hierarchy – Single post template July 29, 2022 by Tarik Billa The post type name is digital (register_post_type( 'digital',) so the template should be single-digital.php.