wet-boew-wordpress icon indicating copy to clipboard operation
wet-boew-wordpress copied to clipboard

Mega menu dynamic support

Open Joberrr opened this issue 12 years ago • 2 comments

With this initial version (3.0a) the mega menu is just static. You must edit the header.php file to update the mega menu html.

I'm hoping that by the next release there will be support for a dynamic mega menu using either the built in WP menus and widgets. Or it might just be done with a function like the way the breadcrumbs are handled.

Joberrr avatar Jun 14 '12 19:06 Joberrr

Currently the megamenu is ajax based so it isn't very hard to implement. You just need a page that has only the menu (http://wet-boew.github.com/wet-boew/demos/includes/menu-eng.html) then add the data-ajax-replace attribute on the menu's ul element.

LaurentGoderre avatar Jun 14 '12 19:06 LaurentGoderre

So is the implementation of the menu in the Wordpress WET variant (v3.1.3) controllable via WP-Admin? With the "data-ajax-replace" attribute, you are still pulling information from a static file, right?

By the way, it's worth noting that "wp_nav_menu" seems to be registered in functions.php, and so is "Mega_Menu_Walker_Page". I'm assuming these are unused in reality in the theme?

dy2288 avatar Oct 25 '13 22:10 dy2288