Is there a better way to create custom content templates for custom post types than duplicating single.php
as single-type.php
and duplicating templates/content-single.php
as templates/content-single-type.php
?
It seems redundant to make 2 different files for one new custom type. Is there a certain way to edit the get_template_part
in single.php
to recognize custom post types?