[wp-trac] [WordPress Trac] #14310: Make template hierarchy filterable
WordPress Trac
noreply at wordpress.org
Thu Oct 9 01:13:35 UTC 2014
#14310: Make template hierarchy filterable
------------------------------------+-----------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by Nabha):
We have a multi-site installation and I'd like to get all the blogs
running on a single theme with a modified lookup for theme files.
For example, instead of just looking in the root theme folder for
author.php, I'd like it to look for /blogs/blog-name/author.php as well.
This offers a sort of intuitive way for us to override template parts.
I can kind of sort of get there with the existing filter, but not really,
because the full array of searched-for templates is no longer available by
the time filters are applied in get_query_template().
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14310#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list