Exemplo n.º 1
0
 function avada_header_content_3()
 {
     $header_content_3 = fusion_get_theme_option('header_v4_content');
     $html = '';
     if ($header_content_3 == 'Tagline') {
         $html .= avada_header_tagline();
     } elseif ($header_content_3 == 'Tagline And Search') {
         if (fusion_get_theme_option('header_position') == 'Top') {
             if (fusion_get_theme_option('logo_alignment') == 'Right') {
                 $html .= avada_header_tagline();
                 $html .= sprintf('<div class="fusion-secondary-menu-search">%s</div>', get_search_form(false));
             } else {
                 $html .= sprintf('<div class="fusion-secondary-menu-search">%s</div>', get_search_form(false));
                 $html .= avada_header_tagline();
             }
         } else {
             $html .= avada_header_tagline();
             $html .= sprintf('<div class="fusion-secondary-menu-search">%s</div>', get_search_form(false));
         }
     } elseif ($header_content_3 == 'Search') {
         $html .= sprintf('<div class="fusion-secondary-menu-search">%s</div>', get_search_form(false));
     } elseif ($header_content_3 == 'Banner') {
         $html .= avada_header_banner();
     }
     echo $html;
 }
Exemplo n.º 2
0
 function avada_header_content_3()
 {
     if ('v4' != Avada()->settings->get('header_layout') && Avada()->settings->get('header_position') == 'Top') {
         return;
     }
     $header_content_3 = Avada()->settings->get('header_v4_content');
     $html = '';
     if ('Tagline' == $header_content_3) {
         $html .= avada_header_tagline();
     } elseif ('Tagline And Search' == $header_content_3) {
         if ('Top' == Avada()->settings->get('header_position')) {
             if ('Right' == Avada()->settings->get('logo_alignment')) {
                 $html .= avada_header_tagline();
                 $html .= '<div class="fusion-secondary-menu-search">' . get_search_form(false) . '</div>';
             } else {
                 $html .= '<div class="fusion-secondary-menu-search">' . get_search_form(false) . '</div>';
                 $html .= avada_header_tagline();
             }
         } else {
             $html .= avada_header_tagline();
             $html .= '<div class="fusion-secondary-menu-search">' . get_search_form(false) . '</div>';
         }
     } elseif ('Search' == $header_content_3) {
         $html .= '<div class="fusion-secondary-menu-search">' . get_search_form(false) . '</div>';
     } elseif ('Banner' == $header_content_3) {
         $html .= avada_header_banner();
     }
     echo '<div class="fusion-header-content-3-wrapper">' . $html . '</div>';
 }
Exemplo n.º 3
0
 function avada_header_content_3()
 {
     $header_content_3 = fusion_get_theme_option('header_v4_content');
     $html = '';
     if ($header_content_3 == 'Tagline') {
         $html .= avada_header_tagline();
     } elseif ($header_content_3 == 'Tagline And Search') {
         if (fusion_get_theme_option('header_position') == 'Top') {
             if (fusion_get_theme_option('logo_alignment') == 'Right') {
                 $html .= avada_header_tagline();
                 $html .= get_search_form(false);
             } else {
                 $html .= get_search_form(false);
                 $html .= avada_header_tagline();
             }
         } else {
             $html .= avada_header_tagline();
             $html .= get_search_form(false);
         }
     } elseif ($header_content_3 == 'Search') {
         $html .= get_search_form(false);
     } elseif ($header_content_3 == 'Banner') {
         $html .= avada_header_banner();
     }
     echo $html;
 }