Opened 14 years ago
Closed 13 years ago
#21647 closed enhancement (fixed)
Twenty Ten: Allow page ancestors to have a visual "on" state.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Bundled Theme | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
When wp_nav_menu() falls back to wp_page_menu() the nav menu shows an "on" state if you are viewing a top-level page. However, if you are on a sub-page, it doesn’t seem to show an "on" state for the parent.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Allow the output of wp_page_menu() to behave like wp_nav_menu() when visitor is viewing a sub-page.