Esempio n. 1
0
echo $top_nav;
?>
            </div>

            <div class="header-right">
                <div class="side-bottom">
                    <?php 
// show contact info and mini cart
$contact_info = $porto_settings['header-contact-info'];
if ($contact_info) {
    echo '<div class="header-contact">' . force_balance_tags($contact_info) . '</div>';
}
?>

                    <?php 
// show social links
echo porto_header_socials();
?>

                    <?php 
// show copyright
$copyright = $porto_settings['header-copyright'];
if ($copyright) {
    echo '<div class="header-copyright">' . force_balance_tags($copyright) . '</div>';
}
?>
                </div>
            </div>
        </div>
    </div>
</header>
Esempio n. 2
0
 // show welcome message
 if ($porto_settings['welcome-msg']) {
     echo '<span class="welcome-msg">' . force_balance_tags($porto_settings['welcome-msg']) . '</span>';
 }
 ?>
             </div>
             <div class="header-right">
                 <?php 
 // show top navigation
 $top_nav = porto_top_navigation();
 echo $top_nav;
 ?>
                 <?php 
 $minicart = porto_minicart();
 $searchform = porto_search_form();
 $header_social = porto_header_socials();
 if ($minicart || $searchform || $header_social) {
     echo '<div class="block-inline">';
 }
 // show search form
 echo $searchform;
 // show social links and welcome message
 echo $header_social;
 // show minicart
 echo $minicart;
 if ($minicart || $searchform || $header_social) {
     echo '</div>';
 }
 ?>
             </div>
         </div>