0

How can wp_nav_menu be used to collapse and expand elements with PHP? Some walker function? Plugin maybe?

What it looks like in wp-admin menus

About
    Customers
    Cases
Contact
    Contact us
    Contact someone else

On the front page - When I have not selected anything it should look like this

About
Contact

When I selected About it should look like this

About
    Customers
    Cases
Contact

When I selected Customers it should look like this

About
Contact
    Contact us
    Contact someone else
1
  • I Googled but I have found something now. See my answer for more information. Mar 20, 2013 at 11:59

1 Answer 1

0

I have found a working solution. It's a plugin called Advanced Menu Widget. I had to add a widget area into my theme but I can live with that, for now. It works!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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