'top_bar_navigation', 'depth' => 2, 'menu_class' => 'flat-unstyled', 'container' =>'ul', 'fallback_cb' => false, ) ); ?>
'; if ( is_home() ) { echo '

'; echo bloginfo( 'name' ); echo '

'; echo '

'; echo esc_html(get_bloginfo( 'description', 'display' )); echo '

'; }else if ( function_exists('is_shop') && is_shop() ){ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { echo '

'; echo esc_html( woocommerce_page_title() ); echo '

'; } }else if( function_exists('is_product_category') && is_product_category() ){ echo '

'; echo esc_html( woocommerce_page_title() ); echo '

'; echo '

'; do_action( 'woocommerce_archive_description' ); echo '

'; }elseif ( is_singular() ) { echo '

'; echo single_post_title( '', false ); echo '

'; } elseif ( is_archive() ) { the_archive_title( '

', '

' ); the_archive_description( '

', '

' ); } elseif ( is_search() ) { echo '

'; printf( /* translators:straing */ esc_html__( 'Search Results for: %s', 'shopstore' ), get_search_query() ); echo '

'; } elseif ( is_404() ) { echo '

'; esc_html_e( 'Oops! That page can’t be found.', 'shopstore' ); echo '

'; } echo ''; } endif; if ( ! function_exists( 'shopstore_static_banner_container' ) ) : /** * Add title in custom header. * * @since 1.0.0 */ function shopstore_static_banner_container() { if (is_front_page() && is_active_sidebar( 'front_page_sidebar' ) ) { dynamic_sidebar( 'front_page_sidebar' ); }else{ $header_image = get_header_image(); echo ''; } } endif; add_action( 'shopstore_header_container', 'shopstore_static_banner_container',40 ); /*----------------------------------------- * PAGE CONTAINER *----------------------------------------*/ if( !function_exists('shopstore_page_container_wrp_start') ): function shopstore_page_container_wrp_start( $arg = 'gsdf' ) { if( !is_array( $arg ) ){ $arg = array(); } $arg['section'] = ( empty( $arg['section'] ) ) ? 'main-blog': $arg['section']; $arg['container'] = ( empty( $arg['container'] ) ) ? 'container': $arg['container']; ?>