Opened 15 years ago
Closed 15 years ago
#18567 closed enhancement (duplicate)
Modify get_template_part() to include sub folder path
| Reported by: | dgwyer | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | 3.3 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
#15086