Opened 16 years ago
Closed 16 years ago
#7698 closed defect (bug) (fixed)
wp_page_menu() template tag
Reported by: | 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)
Change History (4)
Note: See
TracTickets for help on using
tickets.
+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.