Андрей Климин

Neophyte
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Обычная

About Андрей Климин

  • Rank
    Новичок

Information

  • Sex
    женский
  1. Андрей Климин

    Убрать поиск из шапки WP

    Все поудалял перерыл но не могу никак удалить поиск из шапки подскажите будьте добры! Вот весь код шапки! <?php /** * The header for our theme. * * Displays all of the <head> section and everything up till <div id="content"> * * @package republic */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="page" class="hfeed site"> <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'republicpro' ); ?></a> <header itemscope itemtype="http://schema.org/WPHeader" id="masthead" class="site-header" role="banner"> <?php get_template_part('template-parts/topmenu'); ?> <div class="header-area"> <div class="mylogo"> <?php if ( function_exists( 'the_custom_logo' ) ) { the_custom_logo(); } if ( is_front_page() && is_home() ) : ?> <div class="site-branding"> <h1 itemprop="headline" class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> </div><!-- .site-branding --> <?php else : ?> <div class="site-branding"> <p itemprop="headline" class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> </div><!-- .site-branding --> <?php endif; ?> </div> <div class="asidelogo"> <?php if (!dynamic_sidebar('topareawid') ) : endif; ?> </div> </div> <nav id="site-navigation" class="main-navigation" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"> <?php if (has_nav_menu('primary')) { wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'menu-top-container','walker' => new bigrush_Walker_Nav_Menu() ) ); } ?> </nav><!-- #site-navigation --> <?php if (has_nav_menu('primary')) { ?> <div class="republicmob"><?php get_template_part('template-parts/mobmenu'); ?></div> <?php } ?> </header><!-- #masthead --> <?php if( of_get_option('hide_slider') =='on'){ if(is_home() || is_front_page()){ echo republic_slider(); } } ?> <div id="content" class="site-content"> <?php if (!dynamic_sidebar('belownavi-1') ) : endif; ?> <div class="large-12 columns belownavi"> <?php if (of_get_option('news_ticker') !=='off') { echo republic_ticker(); } ?> </div>