titan21 Posted April 13, 2012 Share Posted April 13, 2012 I don't even know if this is possible but is there a hook or a filter to provide templates that a page is based on from a plugin rather than a theme? I saw template_include which seems to determine what template should be used if a particular category, post_ID etc is used so I don't think this would work. And I also saw template_redirect - again this seems to react to the type of page that is being called. Essentially, on the Page Admin screen in WP, I would like to provide a template that a user can use by selecting it from the template dropdown box. I can include templates if there are available in a theme but not from a plugin. Any ideas? Link to comment https://forums.phpfreaks.com/topic/260880-wordpress-providing-templates-from-plugins/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.