• Hi there

    I have 3 levels of menu.

    Menu level 1
    – Sub menu level 2
    – 2nd sub menu level 3
    – 2nd sub menu level 3
    – Sub menu level 2
    – Sub menu level 2
    Menu level 1
    Menu level 1

    What I want the menu to do is:
    1. When on top level only show all ‘Menu level 1’ items
    2. When clicked on ‘Sub menu level 2’ show all ‘Menu level 1’ items and all ‘Sub menu level 2’ items for the current parent.
    3. When clicked on ‘2nd sub menu level 3’ show all ‘Menu level 1’ items and all ‘Sub menu level 2’ items and all ‘2nd sub menu level 3’ for the current ‘Sub menu level 2’.

    The menu should appear as the list above.
    Please can anyone help with what settings I need?
    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author wizzud

    (@wizzud)

    Hi.
    First off, I’m going to make an assumption that when you say “When clicked on itemX” you mean “When itemX is the current menu item …“, ie. the current page showing is the one pointed to by itemX.
    If this is not the case, and you want all the “clicking” to occur without navigation to a new page, then what you are asking for is an interactive menu … which is not what this plugin supplies.

    Okay, relating to your points:
    1 = when a level-1 (root) item is the current menu item, menu contains all level-1 items
    2 = when a level-2 item is the current menu item, menu contains the current item and its siblings, plus current item ancestors back to root, with their siblings
    3 = same as 2

    These 3 resolve into : menu contains current item, current item siblings, all current item ancestors, and the siblings of current item ancestors.

    That’s (non-default) settings of:
    Primary Filter
    Branch : Current Item
    Secondary Filter, Inclusions
    Branch Ancestor : to level 1 (root)
    … with Siblings : to level 1 (root)
    Branch Siblings : [checked]

    The shortcode equivalent resembles

    
    [cmwizard menu=N branch=current ancestors=1 ancestor_siblings=1 siblings=1/]
    • This reply was modified 6 years, 8 months ago by wizzud.
Viewing 1 replies (of 1 total)
  • The topic ‘show child and parent’ is closed to new replies.