Support » Plugin: Custom Menu Wizard Widget » Start level from 0

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wizzud

    (@wizzud)

    Assuming that About is only top-level item, and that you have no other criteria (because you haven’t mentioned any!) :
    show all, start level 1, depth 2

    I have menu level structure like below:

    Home
    About Us
    - About Sub 1
    - About Sub 2
    - About Sub 3
    - About Sub 4
    Our Services
    - Services Sub 1
    - Services Sub 2
    - Services Sub 3

    Now, when user is on “About Us” or any “About Sub x”, the sidebar menu will look like below:

    About Us
    - About Sub 1
    - About Sub 2
    - About Sub 3
    - About Sub 4

    I was able to get this using these settings:
    Filter
    children of: current root item
    starting level: 1
    Fallbacks
    If “Children of” is Current Root / Parent Item, and no ancestor exists :
    Switch to Current Item: checked
    Include Parent: checked
    with Siblings: unchecked
    Output
    Include Parent: checked
    with Siblings: unchecked
    Include Ancestors: checked

    I am not sure exactly which of these are necessary and which are not, but it will give you something to play around with. One thing I have noticed with these settings however is that if you are in a top-level item and it has no children, nothing will display, not even the top level item.

    Hi @andrewcking,

    Thanks a lot. It works.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Start level from 0’ is closed to new replies.