Opened 4 years ago
Last modified 3 years ago
#10968 new enhancement
Add container_element arg to wp_page_menu()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Template | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | stebbiv@… |
Description
I have added a new argument to the wp_page_menu template tag so it replaces the container div with another HTML element.
This is useful when migrating to HTML 5 and you want to use the <nav> element.
Attachments (1)
Change History (7)
- Summary changed from A new argument to replace the container div in wp_page_menu to Add container_element arg to wp_page_menu()
Note: See
TracTickets for help on using
tickets.

You forgot to replace the </div>