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.
1 comment
Mary December 25, 2017 at 5:43 pm
Boa dica!