WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom Menu doesn't include Child Pages (4 posts)

  1. aisajib
    Member
    Posted 4 years ago #

    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?

  2. MichaelH
    Member
    Posted 4 years ago #

    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.

  3. aisajib
    Member
    Posted 4 years ago #

    Thank you MichaelH, I eventually discovered it. :)

  4. prestonwallace
    Member
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.