[How-to] It works.. I think
-
Hi, I was searching for a few days for a good free wordpress megamenu
I found this one but it doesn’t work… untill now.
I will show you how i did for make it run.
– Install the plugin and activate it
– Go to header.php and change <?php wp_nav_menu(); ?> for <?php cool_nav_menu(); ?>
– DON’T WORK?
– GO ADMIN, and edit your menu. You will see now that you have an option Megamenu Off/On
– Select ON for every elemment on your menu.
– STILL NOT WORKING?
– You have to change the class of the DIV container (I did it directly on header.php, but i think you can change it on Admin Settings panel.
In my case i changed the header.php so i changed the current class of my DIV to .main-navigation
– STILL NOT WORKING? AT LEAST IT SHOW NOW A HOME BUTTON??– OK, The plugin page says: change <?php wp_nav_menu(); ?> for <?php wp_nav_menu(); ?>
It’s probalby that if you use a free or premmium them you have to look for something like :
<?php if ( function_exists( 'has_nav_menu' ) && has_nav_menu( 'primary-menu' ) ) { wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fr', 'theme_location' => 'primary-menu' ) ); } else { ?>
What i did was erase the IF : and get something like :
<?php wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fr', 'theme_location' => 'primary-menu' ) ); ?>
Now change wp_nav_menu for cool_nav_menu (only that part!!!)
And it should be working now!!
It’s possible that you will see a message error like :
Warning: Division by zero in plugins\cool-responsive-mega-menu\custom_walker.php on line 34
I’m working on it ^^Sorry for my poor english! ??
ByE
- The topic ‘[How-to] It works.. I think’ is closed to new replies.