<?php global $pixomi_data; ?>
<div id="vertical-header" class="vertical-header header-v7">
    <div class="vertical-header-wrapper">
        <div id="logo" class="logo">
            <?php if(isset($pixomi_data['theme_logo']['url']) && ($pixomi_data['theme_logo']['url'] != "")) { ?>
                <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php echo esc_url($pixomi_data['theme_logo']['url']); ?>" alt="<?php echo esc_attr(bloginfo('name')); ?>" ></a>
            <?php } else { ?>
                <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><h2><?php esc_html(bloginfo('name')); ?></h2></a>
            <?php } ?>
        </div>  
        <div id="navigation">
            <?php if(has_nav_menu('pixomi-primary_menu')) {
                wp_nav_menu( array(
                    'theme_location' => 'pixomi-primary_menu',
                    'container'      => false,
                    'menu_class'     => 'sf-menu main-menu',
                    'depth'          => 0,
                ) ); 
            }  ?>
        </div>
        <div class="vh-footer">
             <div class="vh-social">
                <?php get_template_part('functions/socialmedia'); ?>
            </div>
        </div>       
    </div>
</div>
<?php get_template_part('functions/headers/mobile-header'); ?>
