I want to check for an appropriate template in the theme folder before falling back to the file in my plugin directory. Here’s my code: add_filter('template_include', 'sermon_template_include'); ...
I'm wondering if there is any way to use get_template_part() with folders? My main folder has a lot of files now because I put every re-usable element in a separate file. I'd like to put them in ...
I am creating a plugin which requires use of custom templates so using the following code to use the templates: add_filter('template_include', 'hhavideo_set_template'); function ...