Opened 16 years ago
Closed 16 years ago
#7549 closed enhancement (fixed)
Update get_footer and get_header to allow named headers and footers like get_sidebars
Reported by: | AaronCampbell | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
We added this to get_sidebars in #5615 and at the time I didn't even think about get_header and get_footer. However, as I'm doing more and more complex sites based on WordPress I've run into the need to use multiple header and footer files. The 2.6 branch is affected by this and so is trunk (currently 2.7). I'm attaching two patches. One for the 2.6 branch and one for trunk.
Attachments (2)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Patch for trunk