Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
share|improve this question
1  
What have you tried so far? –  kaiser Mar 20 '13 at 10:58
    
I Googled but I have found something now. See my answer for more information. –  Jens Törnell Mar 20 '13 at 11:59
add comment

1 Answer 1

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!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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