I am using bootstrap 3.2 in my wordpress project. I want to create a megamenu in bootstrap. I have found YAMM 3 has this functionality. But this is in HTML. Can any one tell me how can i integrate it in my wordpress project?
Asked
Active
Viewed 1,353 times
0

amphetamachine
- 27,620
- 12
- 60
- 72

JigneshMistry
- 111
- 12
-
i assume you have already read the [docs](https://github.com/geedmo/yamm3)? – nozzleman Aug 14 '14 at 13:25
-
http://wordpress.stackexchange.com/questions/126015/creating-a-mega-menu -- this question has not been answered. It's a custom php script for the navwalker function. – Christina Aug 14 '14 at 20:09
1 Answers
0
did you try use this nav walker? https://github.com/macdonaldr93/yamm-nav-walker
so your code should look like this
<?php
wp_nav_menu( array(
'menu' => 'primary',
'theme_location' => 'primary',
'depth' => 4,
'container' => 'div',
'container_class' => 'collapse navbar-collapse',
'container_id' => 'bs-example-navbar-collapse-1',
'menu_class' => 'nav navbar-nav yamm',
'fallback_cb' => 'Yamm_Nav_Walker_menu_fallback',
'walker' => new Yamm_Nav_Walker())
);
?>

Lafif Astahdziq
- 3,788
- 29
- 38
-
Its working i have testing this with my new system. and this is great thank you man for your help. – JigneshMistry Feb 17 '16 at 07:26
-