[wp-trac] [WordPress Trac] #12877: Modular themes: Apply template hierarchy to folders within a theme
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 6 22:29:26 UTC 2010
#12877: Modular themes: Apply template hierarchy to folders within a theme
-----------------------------+----------------------------------------------
Reporter: koopersmith | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Themes | Version: 3.0
Severity: normal | Keywords: has-patch
-----------------------------+----------------------------------------------
Comment(by F J Kaiser):
If i understood the patch right: The only draw back (of this first
version) i can currently see is that the file($template_name)
get_template_module($folder) searches for must be an exact match. That
would only allow one file per template. If this would be a little extended
with something like ex. a preg_match that works with some sort of
hierarchical order (for ex. page-xy.php) this would be a nice addition
that could make a lot of people pretty happy (looking at a lot of
frameworks or theme-bases that work that way - see the list promoted by
wordpress.org themself: all use something to get out of the flat scheme).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12877#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list