• hi, my code in header.php is:

    <nav id="site-navigation" class="main-navigation" role="navigation">
    			<h3 class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></h3>
    			<a href="#content">"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
    			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
    
    </nav><!-- #site-navigation -->

    there is no: get_search_form in the whole file, but the search form still appears in the <nav> section as the last
    <li> element.

    in fact I do not want to remove the searchfield but to move on another place, not to appear in the navbar.

    thank you

Viewing 1 replies (of 1 total)
  • Thread Starter vajnabotond

    (@vajnabotond)

    If I set no menu in the wp-admin panel at appearance – menus, the search field disappears, if I set my primary menu the search field reappears again.

Viewing 1 replies (of 1 total)
  • The topic ‘cannot remove search field from twentytwelve child themes nav menu’ is closed to new replies.