Make WordPress Core

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's profile AaronCampbell Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:


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)

7549.trunk.diff (1.4 KB) - added by AaronCampbell 16 years ago.
Patch for trunk
7549.26branch.diff (1.8 KB) - added by AaronCampbell 16 years ago.
Patch for 2.6 Branch

Download all attachments as: .zip

Change History (3)

16 years ago

Patch for trunk

16 years ago

Patch for 2.6 Branch

#1 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8673]) Support named headers and footers in get_footer() and get_header(). Props AaronCampbell. fixes #7549 for trunk

Note: See TracTickets for help on using tickets.