Opened 8 years ago
Closed 8 years ago
#18567 closed enhancement (duplicate)
Modify get_template_part() to include sub folder path
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3 |
Component: | Themes | Keywords: | has-patch needs-testing |
Focuses: | Cc: | ||
PR Number: |
Description
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.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
#15086