WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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

I have created some pages and some pages have children.When i go to the wp admin menu,i create new menu and drag all the pages,including ones with children pages.I notice that the menus are all displayed without the cool drop downs i had hoped to see.

Does it mean that menus created in the wp admin cannot have drop down menus?.

share|improve this question
up vote 0 down vote accepted

Dropdown menu is something that handles by CSS or javascript (in some case) So a your theme should take care of that not the wordpress engine. When you add a nested menu items on wordpress menu that means wordpress will output a specific html structure for that menu.

    <ul class="sub-menu">

So, your theme css will have to use appropiate css to handle the dropdown funcitonality. Hope it clear.

share|improve this answer
Okay,i am getting that.Take the theme twenty ten discussed here: en.support.wordpress.com/menus In the header i have <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?> .Does it mean that no matter how arrange my custom menus,i shall use the css class menu-headerm and not write new css to handle the custom menus?. – Gandalf Dec 15 '11 at 10:29
yes, if you have a class called .menu-header which handles the css (in case of twenty ten. Sorry, don't have too much experience with default themes) for the menu then you can use it.. – Sisir Dec 15 '11 at 10:40

I have found what i was looking for in this documentation page: http://en.support.wordpress.com/menus/

share|improve this answer

Your Answer


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.