Remove Top Menu

Latest Reply from social bookmarking service at 2013-06-06 09:27:54
Hey, how do I go about removing the top menu ?
Yes, is it possible to remove the upper of two menus, and the Search box, from the ForRealty theme?
Hi there!
You have to edit top.php to get rid of these things. For example, you need to delete :
<div class="menusearch" title="">
<?php get_search_form(); ?>

to remove the searchbox.
The same way you can remove top menu by deleting this code:
<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'); ?>

Leave a reply

Add codeAdd image