I’m working on a wordpress theme that has various custom post types for various purposes.
Some I usually need and others for specific requirements.
When I need said cpt I usually include the file that creates it and all the it’s necessary functions.
What I want to know is if there is a way to include the various templates associated with said cpt when I include the main cpt file.
So by including the one file, all the templates, singles, archives for this custom post type are available.
Read more here: How to include a wordpress template dynamically