wp_nav_menus() doesn't return current-page-item
-
Hi,
I have been playing around with the wp_nav_menus() function. Somehow the function doesn’t return the current-* attributes like current-menu-item. I have been looking forever and it seems that I am doing something wrong.
I use a custom theme, and made a menu in the admin panel. I use the regular function to call the menu, no tweaks or walkers etc. It shows the items, even the child-items, but it doesn’t pass through the classes that I want…
Anyone?
Thanks!
Tom
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wp_nav_menus() doesn't return current-page-item’ is closed to new replies.