[wp-trac] [WordPress Trac] #24814: Allow placing theme templates in subdirectory
WordPress Trac
noreply at wordpress.org
Mon Jul 22 16:31:29 UTC 2013
#24814: Allow placing theme templates in subdirectory
--------------------------------------------+------------------------------
Reporter: bungeshea | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: minor | Resolution:
Keywords: reporter-feedback dev-feedback |
--------------------------------------------+------------------------------
Comment (by colorful tones):
I prefer to use {{{get_template_part}}} for this type of abstraction:
https://codex.wordpress.org/Function_Reference/get_template_part as well.
Also, the change suggested would entail a lot of user (WP community)
training. The theme template file structure has been incorporated into a
lot of training, which has enabled the ease-of-use for varying levels of
users. i.e. it might be beneficial for theme developers, but not
necessarily for somebody new, or inexperienced that might be trying to
figure out where to update the copyright info in a footer.php file for a
theme they downloaded. Hope that makes sense :-)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24814#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list