• Resolved LennartBon

    (@lennartbon)


    I am doing a plugin that needs a custom page template for displaying database tables. Do I understand load_template() correctly, that it allows me to put the template page in the plugin director (as opposed to the active /themes directory) and load it in the plugin init code?

    If not, is there another way to store templates outside /themes?

Viewing 1 replies (of 1 total)
  • Yes, you can make wordpress custom page template… then write a functions that will execute your plugin…

Viewing 1 replies (of 1 total)
  • The topic ‘Template file in plugin?’ is closed to new replies.