<!-- !Top-bar -->
<div id="top-bar" role="complementary">
<div class="wf-wrap">
<div class="wf-table wf-mobile-collapsed">
<div class="wf-td">
<?php if ( of_get_option('top_bar-contact_show', 1) ) : ?>
<div class="mini-contacts wf-float-left">
<ul>
<?php presscore_top_bar_contacts_list(); ?>
</ul>
</div>
<?php endif; ?>
<?php presscore_nav_menu_list('top', 'left'); ?>
<?php $top_text = of_get_option('top_bar-text', '');
if ( $top_text ) :
?>
<div class="wf-float-left">
<?php echo wpautop($top_text); ?>
</div>
<?php endif; ?>
</div>
<?php if ( defined('ICL_SITEPRESS_VERSION') ): ?>
<div class="wf-td">
<?php presscore_language_selector_flags(); ?>
</div>
<?php endif; ?>
<div class="wf-td right-block">
<?php
// Woocommerce cart here
if ( class_exists( 'Woocommerce' ) && of_get_option( 'general-woocommerce_show_mini_cart_in_top_bar', true ) ) :
get_template_part('inc/mod-woocommerce/mod-woocommerce', 'mini-cart');
endif; ?>
<?php
$topbar_soc_icons = presscore_get_topbar_social_icons();
if ( $topbar_soc_icons ) :
?>
<?php echo $topbar_soc_icons; ?>
<?php endif; ?>
</div>
</div><!-- .wf-table -->
</div><!-- .wf-wrap -->
</div><!-- #top-bar -->