2 menus showing

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

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?

Thanks!

BD


http://seaborninteriors.com/wordpress/material/
Hi!
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'); ?>
</div>
</div>


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

Leave a reply

Add codeAdd image