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.

I have created a theme from scratch and was using a custom menu with no problem. Somehow, I lost the ability to create a hierarchy in the menu -- all menu items show up at the same level. I have tried editing the order on the pages menu and I also have the correct Parent there.

When I try to manipulate the order in the Appearance Menus page, I move the item to the second level. It looks fine but once I save it, the item goes back to the top level. Do you have any idea what is causing it?

The other thing is that I have been using this code on several sites with no problem. It is only one implementation that is tripping me up.

The code I use to call the menu is the following:

<ul> <?php wp_nav_menu( array( 'menu' => 'Main Nav') ); ?> </ul>
share|improve this question

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.