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've managed to create a dynamic menu. However, I need to place an inner menu within that, like so:

  • List Item
    1. List Item
    2. List Item
    3. List Item
  • List Item
  • List Item
  • List Item

And I currently have:

function register_my_menu() {
  register_nav_menu('nav-menu',__( 'Navigation Menu' ));
add_action( 'init', 'register_my_menu' );


    <?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>

However, I am unsure how to create this without any plugins. Does anyone know how?

share|improve this question

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.