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:
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 folders then.