Plugins and themes
-
I’m in the process of writing my first plugin, and have been unable to find information on how I can create a custom template specifically for the plugin (that the user could modify without having to know a bunch of php)
I’m trying to avoid putting the layout of the information to be displayed within the plugin’s php file and would like some kind of example as to how I can use a template specific to the plugin..
i.e.
plugin_dir_path(__FILE__).”/templates/layout.php”;
but I don’t know how to call it.. do I just “include” it? or is there a different way since it’s actually a template?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Plugins and themes’ is closed to new replies.