How to set a default CPT template and create post attribute´s display rules?

Try naming it single-books.php. Normally when you register a post type it’s plural. Use the exact wording you registered the CPT with in your register_custom_postype. I like to use namespacing to avoid these issues all the same. SO register wpse_books as the post type and then your single would be single-wpse_books.php and archive would be … Read more