WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 at 8:52
I need to switch the menu in case media size is less than 480px. – B L Praveen Apr 22 '14 at 9:47
@BLPraveen I would recommend a JavaScript solution. – TheDeadMedic Apr 22 '14 at 9:57
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 '14 at 10:13
I have added it to question – B L Praveen Apr 22 '14 at 10:14

Your Answer


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

Browse other questions tagged or ask your own question.