• Resolved tspnyc

    (@tspnyc)


    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    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?

    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: https://codex.www.ads-software.com/Appearance_Menus_Screen

    Thread Starter tspnyc

    (@tspnyc)

    Hmm. Does not matter what theme I use.

    My site, still under construction can be seen at

    https://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”.)

    https://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.

    https://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).

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

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

    Thread Starter tspnyc

    (@tspnyc)

    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.

    LOL – it’s kind of confusing at first – glad it clicked!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Teme: Bouquet – menus lose child levels when custom menu invoked’ is closed to new replies.