Dropdown menu showing child pages??? (2 posts)

  1. garybeck
    Posted 6 years ago #


    I'm using a very basic theme, and i noticed that only the top level (parent) pages are showing up in the menu.


    The sidebar shows the child pages, but I removed (commented out) the menu from the sidebar because it seemed redundant, and it takes up space I want to use for other things. the menu on the top would be just fine but it doesn't provide a way to get to any of the child pages.

    When I created a child page, I thought it would show up as a dropdown on the main menu, but I guess not.

    Is there a widget that creates dropdowns from the main menu for child pages?

    Another possibility to resolve this is "breadcrumbs" that show a line of text displaying the parent/child pages at the top of the content for each page.

    Can anyone point me to a widget or a way to implement either of these solutions? or perhaps suggest another solution? I found a couple widgets that creaate dropdowns for the admin menus but I'm looking to do something like this for users on the site.

    thanks very much!!

    gary in vermont

  2. garybeck
    Posted 6 years ago #

    update, I found this in the code:

    <?php wp_list_pages('title_li=&depth=1'); ?>

    which I changed to

    <?php wp_list_pages('title_li=&depth=2'); ?>

    but this didn't resolve it... for some reason now it's only showing the one "tree" that has a child on it, and the others have disappeared.

    ?? :(

Topic Closed

This topic has been closed to new replies.

About this Topic