<?php global $post, $pixomi_data; 
$header_layout  = pixomi_choose_header(); 
if($header_layout == '7'){
    $vh_class = 'vertical-header'; 
}else{ $vh_class = ''; } ?>
<footer id="footer">
    <?php if(is_active_sidebar('pixomi-footer_widget_area')) : ?>
        <div class="widget-area">
            <div class="container">
                <div class="row">
                    <div class="multi-col-widget <?php echo esc_attr( $vh_class ); ?>">
                        <?php dynamic_sidebar( 'pixomi-footer_widget_area' ); ?>
                    </div>
                </div>
            </div>
        </div>
    <?php endif; ?>
    <div class="copyright">
        <div class="container">
            <div class="row">
                <div class="col-md-6 col-sm-12 col-xs-12">
                    <?php if($pixomi_data['copyright_text'] != "") { ?>
                        <p class="copyright-text"><?php echo wp_kses_post($pixomi_data['copyright_text']); ?></p>
                    <?php } else { ?>
                        <p class="copyright-default"></p>
                        &copy; <?php esc_html_e('Copyright', 'pixomi') ?> <?php echo esc_html(date("Y ")); esc_html(bloginfo('name')); ?>
                    <?php } ?>
                </div>
                <div class="col-md-6 col-sm-12 col-xs-12">
                    <div class="copyright-nav">
                        <?php if(has_nav_menu('pixomi-copyright_menu')) { wp_nav_menu( array( 'theme_location' => 'pixomi-copyright_menu' ) ); } ?>
                    </div>
                </div>
                
            </div>
        </div>
    </div>
</footer>
</div>
<a class="back-to-top" href="#"><span></span></a>
<?php wp_footer(); ?>
</body>
</html>
