Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#7698 closed defect (bug) (fixed)

wp_page_menu() template tag

Reported by: ryan's profile ryan Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: General Keywords: dev-reviewed
Focuses: Cc:

Description

Since so many themes include similar code, let's make a menu function that wraps wp_list_pages() and includes some conveniences like adding "Home" to the list.

Attachments (1)

7698.diff (1.3 KB) - added by ryan 16 years ago.

Download all attachments as: .zip

Change History (4)

@ryan
16 years ago

#1 @westi
16 years ago

  • Keywords dev-reviewed added

+1

If this stops theme authors creating a menu system with hardcoded links to # that would be even better.

It irks me every time I see them in someones site header.

#2 @ryan
16 years ago

(In [8848]) wp_page_menu(). see #7698

#3 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.