• Resolved Geert Kuurstra

    (@geertomk)


    Hi,

    I’m using this plugin for my menu’s. I have a parent menu-item with some sub-items. I want those sub-items not te be added in the mega menu, but this goes automatically. How can I prevent this from happening?

    ps: I sub the sub-menu items to create a second menu in the sidebar. But want to have other sub-items in the mega-menu so I don’t need the all there.

    Geert

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Geert,

    I don’t fully understand sorry.

    Are you displaying the same menu structure within two different positions?

    Please could you post a link to your site so I can take a look?

    Regards,
    Tom

    Thread Starter Geert Kuurstra

    (@geertomk)

    HI,

    This is de site: https://cadeau.compion.dev
    I have a parent menu-item ‘Baby & Kids’. I use sub-items in this menu and use a mega-menu.

    Problem: The sub-items I set for this parent-item are automatically added to the mega-menu. I don’t want that.

    Question: is there a way to stop this automatically generating of sub-items also to the mega-menu? I can’t remove them from the mega-menu en need to keep them as sub-items in the wp backend.

    This way I can show them in a sidebar like you see on this page, below ‘Bekijk ook’ :https://cadeau.compion.dev/product-categorie/baby_kids/

    Plugin Author megamenu

    (@megamenu)

    Hi Geert,

    Thanks for the links.

    Could you also post a screenshot of your Appearance > Menus page (for the main menu)? I am a bit confused still, as MMM does not automatically add items to your menu, it should only show the ones that are added to the structure on the Appearance > Menus page.

    Regards,
    Tom

    Thread Starter Geert Kuurstra

    (@geertomk)

    HI,

    Attached the screenshot of my menu.
    These sub-items are needed for my sub-menu in the sidebar, but I don’t want to show them all in the mega menu.

    Geert

    Screenshot: https://hn5e21b461e89de-my.sharepoint.com/:i:/g/personal/info_compion_nl/EeyUYHE-mZFJsh5OOfR5PIoBxTi6oO9oLWk8_3AE7kseeQ?e=52ffdT

    Plugin Author megamenu

    (@megamenu)

    These sub-items are needed for my sub-menu in the sidebar, but I don’t want to show them all in the mega menu.

    Ah, got it. I thought that might be the case.

    I think your best option is to create a new menu and tag it to your header location, so you have distinct menus for each area. Otherwise you’d need to hide each item individually from the header menu using custom CSS, but you’d need to keep that manually updated as you change/add more items.

    Regards,
    Tom

    Thread Starter Geert Kuurstra

    (@geertomk)

    Hi Tom,

    Okay, that’s what we going to do.

    Thanks for the help,
    Geert

    Ticket can be closed

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Don’t automatically add sub-items’ is closed to new replies.