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
  • I Googled but I have found something now. See my answer for more information. – Jens Törnell Mar 20 '13 at 11:59
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, privacy policy and cookie policy

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