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

  1. Mary December 25, 2017 at 5:43 pm


    Boa dica!

Leave a reply

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