2 menus showing

Latest Reply from temple at 2013-07-26 14:04:18

For some reason all my SM themes show a top menu, AND and secondary menu. I've selected (set) my menu in the menu option.

Any idea why this is happening?



By default menus in a theme displays with pages or categories of your website. You can edit file top.php to remove menus.

To remove secondary menu you have to delete following code:
<div id='menu-box'>
<div id='secondarymenu'>
<?php wp_nav_menu('depth=0&theme_location=sec-menu&container_class=menu-topmenu-container&menu_class=menus menu-topmenu&fallback_cb=block_sec_menu'); ?>

To remove top menu you have to delete following code:
<div id='mainmenu-container'>
<div id='mainmenu'>
<?php $nav_menu_params=array(
'menu_class'=>'menus menu-primary',
wp_nav_menu($nav_menu_params); ?>
i want to change & remove item from this menu.

Leave a reply

Add codeAdd image