[wp-trac] [WordPress Trac] #13239: Filter locate_template template_names variable
WordPress Trac
noreply at wordpress.org
Thu Aug 10 17:46:18 UTC 2017
#13239: Filter locate_template template_names variable
-------------------------+-----------------------------
Reporter: chrisjean | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Themes | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Comment (by dingo_bastard):
@dnavarrojr
> My question is, what is the correct method for adding a template part
from a plugin that creates a custom post type?
It is a bit complicated, but it is possible: http://www.wpexplorer.com
/wordpress-page-templates-plugin/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/13239#comment:119>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list