I am trying to figure out how to use another single.php for a custom plugin I'm making. It's for a custom post type.
Because if people install this plugin, they won't have the custom single-product.php in their theme folder. That's why I want it to be in the plugin folder.
Is there a way to change the path of this custom post type's single.php or a way to automatically generate the file in the theme folder after installing this plugin?
Thanks in advance