I created single-post-type-name.html
in templates
but they show up like this in the dashboard:
Is there a way to have it like "Single Post Type Name" and also add a description like the Single template that says "The default template for displaying...."?
That single.html
does not have any description, so I guess that description is added by default?
https://themes.trac.wordpress.org/browser/twentytwentythree/1.0/templates/single.html?rev=178734
single
is reserved by WordPress to mean a template for any single post or page. Take a look here at the list of reserved name and their hierarchy. You'd be able to get that name to show up by adding the correct template comments as shown here. Let me know if that's what you're looking for and I can post a proper answer to mark as resolved.single-post-type-name.php
.