[wp-trac] [WordPress Trac] #18567: Modify get_template_part() to include sub folder path
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 1 12:40:18 UTC 2011
#18567: Modify get_template_part() to include sub folder path
-------------------------+-------------------------------------
Reporter: dgwyer | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.3
Severity: normal | Keywords: has-patch needs-testing
-------------------------+-------------------------------------
I have been using more and more template parts, that I include into my
main theme template files, using get_template_part().
It would be great if it was possible to tidy up the theme root folder by
placing all template parts in a sub folder.
I have attached a modified get_template_part() function with the proposed
changes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18567>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list