• Resolved A.I. Sajib

    (@aisajib)


    Hi all,

    I’m using Twenty Ten theme on one of my underconstruction blogs and eventually found that Custom Menu feature is making some problems. I have a total of 7 pages. 5 of them are parent pages and one of them has 2 child pages. By default, all of those pages are shown in the navigation bar right below the header image. Hovering on the About page shows up the child pages.

    However, after I added a custom menu there to put 3 parent pages off the navigation bar, I noticed that the About page — which has 2 child pages — doesn’t show up child pages in a drop-down menu, as it should have. I’ve tried everything I could, but still no fix. If I manually add that child page to the menu, it shows up as a parent page, not in a drop-down.

    Please anyone help me how do I use that custom menu with the drop-down option turned on?

Viewing 3 replies - 1 through 3 (of 3 total)
  • According to Administration > Appearance > Menus

    After items have been added to a menu, drag and drop to put them in the order you want. You can also click each item to reveal additional configuration options. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. You’ll see when the position of the drop target shifts over to portray the nested placement.

    Thread Starter A.I. Sajib

    (@aisajib)

    Thank you MichaelH, I eventually discovered it. ??

    Do you know how to get the child pages to show in a theme? I just added the code
    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>
    to insert my menu, but it doesn’t show child pages that I have in my custom menu. Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Menu doesn’t include Child Pages’ is closed to new replies.