get_option( 'header_horizontal_variant' ); $header_content_width = $barter_a13->get_option( 'header_content_width' ); $header_width = ' ' . $header_content_width; if($header_content_width === 'narrow' && $barter_a13->get_option( 'header_content_width_narrow_bg') === 'on' ){ $header_width .= ' narrow-header'; } $header_classes = 'to-move a13-horizontal header-type-one_line a13-'.barter_horizontal_header_color_variant().'-variant header-variant-' . $variant . $header_width; $menu_on = $barter_a13->get_option( 'header_main_menu' ) === 'on'; $socials = $barter_a13->get_option( 'header_socials' ) === 'on'; $icons_no = 0; $header_tools = barter_get_header_toolbar( $icons_no ); if ( ! $icons_no ) { $header_classes .= ' no-tools'; } else { $header_classes .= ' tools-icons-' . $icons_no; //number of icons } //how sticky version will behave $header_classes .= ' '.$barter_a13->get_option( 'header_horizontal_sticky' ); //hide until it is scrolled to $show_header_at = $barter_a13->barter_get_meta('_horizontal_header_show_header_at' ); if(strlen($show_header_at) && $show_header_at > 0){ $header_classes .= ' hide-until-scrolled-to'; } // top bar $header_topbar = $barter_a13->get_option( 'header_topbar' ) === 'on'; $header_topbar_left_text1 = $barter_a13->get_option( 'header_topbar_left_text1' ); $header_topbar_left_text2 = $barter_a13->get_option( 'header_topbar_left_text2' ); ?>