[wp-trac] [WordPress Trac] #22355: Template stack - Beyond parent/child theme relationships
WordPress Trac
noreply at wordpress.org
Thu Mar 21 13:29:55 UTC 2013
#22355: Template stack - Beyond parent/child theme relationships
-----------------------------+------------------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by meloniq):
Above patch uses way of registering locations suggested by @scribu : {{{
add_template_stack( get_template_directory(), 12 ); }}} , stop to use
filters api as suggested @chacha102 - uses {{{ $wp_template_stack }}}
global, and adds functions to remove and check for existence of template
location.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22355#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list