Hi Guys,
I tested your menu plugin but it doesnt works the way I need it 🙁
I need an widget for displaying menus starting from a chosen menu item… but as it seems, it doesnt works like that?
Example:
Menuitem 1
Menuitem 2
- Submenuitem 1
- Submenutitem 2
And I wanted to show a Menu begining from Menuitem 2 (but it should only show the submenus) and so on.
Is this possible?
Regards
Tobias
OnPoint Plugins
Hi Tobias,
Certainly. This may be accomplished by adding the following filter to your active theme’s functions.php file:
To target your chosen menu item, you’ll need to change the
TOP_LEVEL_PARENT = 124344;
to match the id of your chosen menu item.If you need help finding your menu item id, you may send us a link to your menu and the name of the item and we’ll adjust the code for you.
Have a great day!
Tobias Klein
Hi Guys,
thanks for the reply. But is it possible to use several widgets to bild “menus” depending on a different parent menu item?
I want to build a mega menu like full screen menu in a page builder, where I can use widgets for every menu level…
Heres the dummy: https://xd.adobe.com/view/ed4f20ae-2698-4021-9953-5ac8ac5ddc18-b81c/screen/8a42d5bb-3e82-4d45-8015-e1438f708af6/?fullscreen
Maybe your plugin is not the right one to achieve this. I know the functionality from the Joomla CMS. Theres an standard menu module where you can say “load menu items beginning from Menu Item X, level 2” and stuff.
Regards
Tobias
OnPoint Plugins
Hi Tobias,
This version will add a “Load menu items beginning with” field to the widget settings to allow specifying the menu item id for each widget. This will allow you to use the widget as many times as you like while specifying the top level menu item for each widget.
Have a great day!