Opened 16 years ago
Closed 16 years ago
#15282 closed enhancement (invalid)
wp_nav_menu now displays menu depth
| Reported by: | edward mindreantre | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Menus | Version: | |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: |
Description
Adds sub-menu-depth-1 and menu-item-depth-2 classes to the ul and li classes when displaying wp_nav_menus.
This is useful for fanciful jquery manipulation of the menu.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I don't see why this is needed, at least based on the use case.
Depth can be targeted with
li,li li, etc. And even better via jQuery.