Opened 15 years ago
Closed 9 years ago
#13979 closed enhancement (fixed)
Add a new arg for custom ID attributes with wp_page_menu()
Reported by: | iandstewart | Owned by: | |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Posts, Post Types | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
The attached patch adds a new arg to wp_page_menu() for setting custom ID attributes (right now you can only set a Class--incorrectly noted as the ID in the docs).
Since wp_page_menu() is the default fallback for wp_nav_menu() this would be potentially super-helpful for marrying up with wp_nav_menu()'s container_ID.
Attachments (1)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Related #13998