I want to integrate the jquery mega menu into my site using the mantra theme but face some small difficulties!
I am using a child theme and added the following to funtions.php
<?php
if ( function_exists(‘register_sidebar’) ){
register_sidebar(array(
‘name’ => ‘My Mega Menu’,
‘before_widget’ => ‘<div id=”my-mega-menu-widget”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ”,
‘after_title’ => ”,
));
}
?>
to register a new widget area
then I added
<?php /* Widgetized sidebar */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘My Mega Menu’) ) : ?><?php endif; ?>
to my header.php and also changed the line
<nav id=”access” role=”navigation”> to <nav id=”” role=”navigation”>
The menu itself works fine and as expected, but the side effect am trying to eliminate is the showing of the whole menu structure direct above the mega menu as plain textual links as well.
For now the site is developed on a local host and therefore I am not able to provide a link for the site so far!
I will be grateful if anyone can be of help and show me how get rid of the said above my menu