Moving a Menu

Latest Reply from temple at 2013-07-26 12:43:05
This theme is setup with the Category menu above the slider and the page menu up on top by the logo. How can I put the Page menu above the slider and not have a menu up by the logo at all? I want to have the category list in a sidebar widget instead.

Thanks!
Well, in case anyone else wants to do this, here's what I figured out.

The top menu is controlled by this section:
<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>



The lower menu is controlled by this section:
<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 deleted the top section completely, and changed the fallback line in the section section to:
'fallback_cb'=>'block_sec_menu'
and how to remove or add thing to this menu

Leave a reply

Add codeAdd image