You can load a template file from your plugin using the template_include filter, with code similar to this:

If you’re looking for something more robust┬áthat checks the child and parent themes before falling back to the plugin template, check out Gamajo Template Loader.

Leave a reply

Your email address will not be published. Required fields are marked *