Loading “parts” from a plugin for CPT?
-
I have created a CPT inside a plugin. I want to isolate it as much as possible from the Theme, so I want to keep everything I can inside the plugin.
I would like to be able to use an equivalent of template_part to create a directory to load various parts for the layout.
template_part, though loads from the theme, which isn’t what I want. Is there an equivalent function that loads from the plugin directory?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Loading “parts” from a plugin for CPT?’ is closed to new replies.