Exemplo n.º 1
0
$sidebar_menu = porto_header_side_menu();
if ($sidebar_menu) {
    echo $sidebar_menu;
}
?>

                <?php 
// show search form
echo porto_search_form();
// show mobile toggle
?>
                <a class="mobile-toggle"><i class="fa fa-reorder"></i></a>

                <?php 
// show top navigation
$top_nav = porto_mobile_top_navigation();
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 
Exemplo n.º 2
0
?>
<div id="nav-panel" class="">
    <?php 
// show welcome message
if ($porto_settings['welcome-msg']) {
    echo '<span class="welcome-msg">' . $porto_settings['welcome-msg'] . '</span>';
}
// show top navigation and mobile menu
$menu = porto_mobile_menu();
if ($menu) {
    echo '<div class="menu-wrap">' . $menu . '</div>';
}
$header_type = $porto_settings['header-type'];
if (($header_type == 1 || $header_type == 4 || $header_type == 9) && $porto_settings['menu-block']) {
    echo '<div class="menu-custom-block">' . force_balance_tags($porto_settings['menu-block']) . '</div>';
}
$menu = porto_mobile_top_navigation();
if ($menu) {
    echo '<div class="menu-wrap">' . $menu . '</div>';
}
// show currency and view switcher
$switcher = '';
$switcher .= porto_mobile_currency_switcher();
$switcher .= porto_mobile_view_switcher();
if ($switcher) {
    echo '<div class="switcher-wrap">' . $switcher . '</div>';
}
// show social links
echo porto_header_socials();
?>
</div>