0

I create Widget for Vertical menu Now I am trying to get selected or current menu using wp_nav_menu

Any one know how to Add current class when selected in wp_nav_menu

1

Are you looking to add a CSS class to the menu item that is currently the active screen?

If so, this is handled in WordPress by default with the ".current-menu-item" CSS class.

1
  • No not showing me that default classess
    – softsdev
    Nov 28 '12 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.