Helping a friend w/ a navigational menu on a WordPress PHP site -- called it Primary Menu. I'm trying to override the default navigational menu with the jquery-mega-menu I created in the widget area I created.
Here's the problem:
I'd like to have the menu in the widget area I created, "my_mega_menu", which calls the Primary Menu. But the inkthemes_nav() function adds the Primary Menu also. When I comment this out in header.php, it shows only the menu I want it to show, but it breaks the functionality of the menu; the drop-downs don't drop down into the sub-menus.
Does anybody know if it's possible to eliminate the inkthemes_nav native menu, but maintain the functionality of the jquery-mega-menu I created?
Here's the code in my header.php:
<div class="menu-bar"> <div id="MainNav"> <a href="#" class="mobile_nav closed"><?php _e('Pages Navigation Menu', 'colorway'); ?><span></span></a> <?php inkthemes_nav(); ?> <?php /* Widgetized sidebar */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('my_mega_menu') ) : ?> <?php endif; ?> </div> <div class="clearfix"></div> </div> <!--End MenuBar--> </div>
Thanks for any guidance anybody can offer to point me in the proper direction (what I should be looking for, what to do, etc.)!