• cesarhr91

    (@cesarhr91)


    Hello

    I request your support, I am building a menu that is automatically filled with all the product categories that the project has.

    The issue is that the display mode of the menu items is created by default as a flyout menu and I would like to add them as a grid layout

    I am currently getting the properties of each menu item with the “wp_get_nav_menu_items” function but it seems that the megamenu settings are not included and I don’t know how to change the item property to grid layout

    is there a way to do it?

    Thanks!

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

    (@megamenu)

    Hi cesarhr91,

    I think the best way would be to set up a grid layout sub menu (using our options), then add a widget to each column in the grid that pulls in the product categories. You could custom code that widget or use an existing one – e.g. recent posts extended or Content Views.

    I don’t think it would be possible to automatically populate the whole sub menu.

    Regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘How to add mega menu properties with programming code?’ is closed to new replies.