WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Teme: Bouquet - menus lose child levels when custom menu invoked (7 posts)

  1. tspnyc
    Member
    Posted 1 year ago #

    I realized that choosing Custom Menu, to show just the pages on there I want, in the order I want, breaks the ability of the menu to display a drop-down showing the child and grandchild levels of pages that have them.

    The various code examples I see in old, closed WP forum answers to this issue does not appear in this or any theme's php or css, that I can find. They typically say something like:

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

    but "depth" can not be found in any code i can find.

    I assume this would be in the functions.php but I have looked in all of them.

    The moment I delete custom menus and go back to the default the drop downs appear.

    But I do not know code at all, so I do not know a)where to find the menu code and b) what parts I should replicate in the custom menu and C) WHERE I would find the custom menu code to put the correct code for child drop downs.

    Any suggestions would be most appreciated.

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    I realized that choosing Custom Menu, to show just the pages on there I want, in the order I want, breaks the ability of the menu to display a drop-down showing the child and grandchild levels of pages that have them.

    Can you provide a working example of the issue?

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I just tried this theme out on a test site and had no problems making a four level menu - without changing anything. Maybe you're making it too complicated - or have you changed other things in the theme or are you using plugins that may be causing problems?

    Are you doing this: http://codex.wordpress.org/Appearance_Menus_Screen

  4. tspnyc
    Member
    Posted 1 year ago #

    Hmm. Does not matter what theme I use.

    My site, still under construction can be seen at

    http://www.onemanz.com/guitar (one of a few multi-sites I am creating under onemanz.com).

    I have "pages", and then I have "child pages" that list pages as their parents.

    I then make a custom menu, add just the "pages" I want. The child pages that listed those pages as parents do not show up under the menu.

    If I delete the custom menu, which returns it to the default menu and all pulldowns work fine.

    Here are screen caps.

    Image of default menu working correctly (note the Articles menu, which children including "Interviews and Profiles", which has the current grandchildren "Boo Reiners, George Harrison".)

    http://img607.imageshack.us/img607/7905/wpmenu1.jpg

    Image of the custom menu set up in the menu section of the Dashboard. All I did was add the pages I wanted in the order want them. There is nowhere to tell this utility to include lower levels.

    http://img9.imageshack.us/img9/1968/wpmenu2.jpg

    Image of the custom menu with the order I want, but NOT working after it appears. (Note the Articles menu has been selected but does not show lower levels).

    http://img29.imageshack.us/img29/3699/wpmenu3.jpg

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I don't see any pages below articles in your dashboard menu screen image (second one)?

  6. tspnyc
    Member
    Posted 1 year ago #

    I see! When I heard there was a drag and drop feature for the menus, I was trying to drag directly from the Page box to the menu box.

    I did not understand that I had to first ADD all the menus to the menu box via the check boxes. After that, I drag them from one spot to another, to make them submenus of other menus.

    Yea.

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    LOL - it's kind of confusing at first - glad it clicked!

Topic Closed

This topic has been closed to new replies.

About this Topic