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.

Is there a wp_dropdown_nav function to list the menu items in a dropdown the same way as like in wp_dropdown_categories.

I need to display a menu when the media size is greater than 480px and dropdown menu if media size is less than 480px.

I am trying to list the menu items as dropdown.

Currently I am using the wp_dropdown_categories instead of navgiation menu items.

share|improve this question
    
The simple answer is no, there is no such function or action in wordpress. What is it that you want to achieve. I suspect that what you want to do is doable with a custom menu –  Pieter Goosen Apr 22 at 8:52
    
I need to switch the menu in case media size is less than 480px. –  B L Praveen Apr 22 at 9:47
1  
@BLPraveen I would recommend a JavaScript solution. –  TheDeadMedic Apr 22 at 9:57
1  
Ok, this changes everything. You should include that in your question. As @TheDeadMedic suggested, javascript and media queries should to the trick. Take a look at the twentyfourteen theme included with wordpress. This is beautifully incorporated there. You can also look at the twenty twelve theme. –  Pieter Goosen Apr 22 at 10:13
1  
I have added it to question –  B L Praveen Apr 22 at 10:14

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.