• HI, I think I have a very common use case for a submenu, but it took me quite a while to find the right setting. So I post it here for anyone who needs the same kind of submenu. It is a variant on version 3 in the description of the plugin.

    Example 3) Show just the descendants of the current menu item (if there are any).
    That works fine, but than if I click on one of the descendants in that menu the menu dissappears, while I want it to stay. So that people can easily navigate around the set of descendants.

    Sow what I want is this example
    a) if on a “current page with descendants” it shows the descendants in the menu like in example version 3
    AND
    b) if on a “descendent page” show that page and it’s siblings in the menu (which results in exactly the same menu-items as under a.

    This can be done with these settings in the plugin for a two-level menu:

    • Drag a new Custom Menu Wizard widget into the sidebar, and give it a title (if you want one)
    • Select the menu you wish to use (if it’s not already selected)
    • Open the FILTERS section :
    • under Primary Filter, click on the Branch radio
    • under Secondary Filter, set Starting at to “+1 (children)”
    • under exclusionts, exclude level 1
    • Open the FALLBACK section
    • under Fallbacks, set If Current Item has no children to: start at: -1 parent
    • Save the widget!
    • Or use the shortcode
  • The topic ‘Common submenu example for a 2 level menu’ is closed to new replies.