Custom Post Type Templates from Plugin Folder?

Question

I’d like to offer my custom post type as a Plugin, so that people can use it without touching their theme folder. But custom post type templates — such as single-movies.php — reside in the theme folder. Is there a way to get WP to check for a single-movies.php in the plugin’s folder? Hooking a function into the Filer Hierarchy? Or get_template_directory(); ?

0
, , , nathanbweb 1 year 2020-07-10T19:10:25-05:00 0 Answers 70 views 0

Leave an answer

Browse
Browse