• This is a very powerful plugin, which I greatly appreciate, but I’m having trouble getting my head around it.

    I have a 4 tiered menu, and only want it to start displaying level two, but without all the really long list of level 2 items and their respective children.

    (1) – container for really long list of programs, in the 100s (exclude ID of 280)
    (2) – program 01 (start here when current, display as non-linked header)
    (2)* program 01 (display current AGAIN in menu, but as linked)
    (3) – sub area (display)
    (4) – item (display)
    (4) – item (display)
    (3) – sub area (display)
    (3) – sub area (display)
    (2) – program 02 (exclude, exclude all siblings)
    (2) – program 03 (exclude, exclude all siblings)
    (2) – program 04 (exclude, exclude all siblings)
    (2) – many more… (exclude, exclude all siblings)
    (2) – program 99 (exclude, exclude all siblings)

    I can get close with:
    [title=“My Custom Menu” branch=current fallback=“parent,siblings” ancestors=“2” include_level=“2” exclude=“280” exclude_level=“1” title_from=“current2” siblings=1/]

    But the long list of level-two siblings still appears, and becomes cumbersome.

    I can also get really close with:
    [title=“My Custom Menu” branch=current fallback=“parent,siblings” ancestors=“2” include_level=“2” exclude=“280” exclude_level=“2” title_from=“current2” siblings=1/]

    The long list of level-two disappears, but the current program link (non-header) also disappears.

    Is is possible to exclude level 2 siblings and their children, yet have the current level 2 item still display in the menu as a non-header link?

Viewing 1 replies (of 1 total)
  • Thread Starter mlipenk

    (@mlipenk)

    O.K. for others with a similar issue, I think I have a workable solution and it is much simpler than the myriad of combinations I was trying. I read through all the documentation, but still didn’t quite understand the possibilities, maybe because of the terminology used. The solution is based on this information: https://www.ads-software.com/support/topic/show-only-children-of-the-current-category-1/

    For my 4 level menu, where I only want to display the current level 2 and ONLY associated children below that current level 2:

    * Primary Filter: Branch (Current Item)
    * Secondary Filter: Starting at 2, Item
    * Qualifier: Current Item is in: Secondary Filter (I think this is OPTIONAL, doesn’t seem to make a difference one way or another.)
    * Set Title from: Branch Item: level 2

    Shortcode: branch=current start_at=”2″ title_from=”branch2″ contains_current=”secondary”

    Achieves:
    X (1) container for really long list of programs, in the 100s (NOT DISPLAYED)
    — (2) program A (start here when current, display NON-LINKED header, styled for theme)
    — (2) program A (display current AGAIN in menu, but LINKED)
    ——(3) – sub area 01 (display)
    ——–(4) – item (display)
    ——–(4) – item (display)
    ——(3) – sub area 02 (display)
    ——–(4) – item (display)
    ——–(4) – item (display)
    ——(3) – sub area 03 (display)
    -X (2) – program B (exclude, exclude all children)
    -X (2) – program C (exclude, exclude all children)
    -X (2) – program D (exclude, exclude all children)
    -X (2) – …many more (exclude, exclude all children)
    -X (2) – program Z (exclude, exclude all children)

    When any program in level-two is selected, it and all its children, along with a heading are displayed in a fully expanded tree. If you want “drill-down” where the selected sub-item and its children are displayed, while sibling sub-items and their children are collapsed… I do not know how to achieve that.

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude level siblings and children, yet have current level item display in menu’ is closed to new replies.