Opened 5 years ago

Closed 5 years ago

#7698 closed defect (bug) (fixed)

wp_page_menu() template tag

Reported by: ryan Owned by: anonymous
Priority: normal Milestone: 2.7
Component: General Version:
Severity: normal Keywords: dev-reviewed
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 5 years ago.

Download all attachments as: .zip

Change History (4)

ryan5 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.

comment:2   ryan5 years ago

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

comment:3   ryan5 years ago

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