-
Notifications
You must be signed in to change notification settings - Fork 2
Mega Menu
Create a large menu split into multiple columns.
h-mega-menu
-
No custom walker. The mega menu can be echoed using the native
wp_nav_menu()
. -
Shortcode now works inside menu items. This means you can easily insert any content into the menu.
-
Everything is just a standard WP Menu with a bit of ACF fields.
-
Choose between 2, 3, or 4 columns.
-
Child items become a "Column" and you can change its background color.
-
Grandchild items can have Descriptions, Icons, and Images. If you choose to use image, it will make the item non-clickable.
If you're using our Header Builder, render it with "Navigation Menu" widget.
If you're not using our Header Builder, simply render it with WordPress built-in function:
wp_nav_menu([ 'menu' => 'Main Menu' ]);
This plugin doesn't provide any frontend CSS or JS because it's intended to be used alongside Edje Theme.
If you want to use another theme, refer to these CSS, JS, and HTML markup: https://gist.github.com/hrsetyono/a2483b8e52297f08d92747b0ca2e0f26