• Resolved alexia3718

    (@alexia3718)


    Hi everyone !

    I try desperately to reveal children from the current item. I explain :
    my horizontal menu = Home / Presentation / Products / Missions

    my vertical menu =
    Team (parent = presentation)
    – children 1
    – children 2
    Photo (parent = presentation)
    – children 1
    – children 2

    manuf (parent = products)
    – children 1
    – children 2

    My problem is that i would like to click on presentation (for example) and the submenu team & photo reveals. When i click on “team” the children reveal… WHILE the manuf submenu is hidden. (because de current parent is presentation and not products).

    Does anyone knows if it’s possible to do that ??
    Thank you for your help 🙂

    https://wordpress.org/plugins/custom-menu-wizard/

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

    (@wizzud)

    Showing just the immediate children of the current menu item is fairly straightforward : Branch = Current Item, Starting at +1 (children), For Depth 1 level.
    Shortcode equivalent:
    [cmwizard menu=NN branch=current start_at="+1" depth=1/]

    If you want to also show the current item, then leave Starting at set to its default value (“the Branch”) and change For Depth to 2 levels.
    If you want to show any ancestors of the current item, then either configure them (under Inclusions), or change Starting at to an absolute level … depends on exactly what you want shown.

    Thread Starter alexia3718

    (@alexia3718)

    Thanks @wizzud for your answer !
    Do you know how can i hide item which is not current ?
    Example :
    Item 1 / Item 2 / Item 3

    Submenu : item1-1 / item 1-2
    item2-1 / item2-2
    item 3-1 / item 3-2

    I click on item 1 to open item1-1 & item 1-2
    I would like to hide as well item2-1, item2-2, item3-1, item3-2
    I would like an accordion submenu like in this page : http://urlz.fr/2hY4

    I hope to be clear in my explanations :/

    Plugin Author wizzud

    (@wizzud)

    Unfortunately I think things are becoming less clear from my point of view.
    By introducing accordion-style menus, I think you are now talking about presentation, not content, and that is beyond CMW’s remit. Any styling and/or interactivity that you wish to place on the menu is down to your theme, and possibly other plugins that can accordion-ise a menu for you. CMW does not provide any styling … at all! It can modify the output HTML slightly if you configure it to, but that’s it.

    Thread Starter alexia3718

    (@alexia3718)

    Fine i’m going to search other plugins to customize my menu !
    Thank you very much for your help and reactivity !

    Have a good day 🙂

    Plugin Author wizzud

    (@wizzud)

    No problem. I hope you find what you need.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reveal children current menu’ is closed to new replies.