<?php if(vinkmag_option('header_show_topbar', 'no') == 'yes'): ?>
<!-- top bar start -->
<section class="top-bar v5">
    <div class="container">
        <div class="row">
            <div class="col-md-8 align-self-center">
                <div class="ts-breaking-news clearfix">
                    <h2 class="breaking-title float-left">
                        <i class="fa fa-bolt"></i> <?php esc_html_e('Breaking News :', 'vinkmag'); ?></h2>
                    <div class="breaking-news-content float-left" id="breaking_slider1">
                        <?php 
						$the_query = vinkmag_breaking_news_query();

						if ( $the_query->have_posts() ) :
							while ( $the_query->have_posts() ) :
								$the_query->the_post();
						?>
								<div class="breaking-post-content">
									<p>
										<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
									</p>
								</div>
						<?php
							endwhile;
							wp_reset_postdata();
						else:
							esc_html_e('nothing found', 'vinkmag');
						endif;
						?>
                    </div>
                </div>
            </div>
            <!-- end col-->

            <div class="col-md-4 text-right xs-none">
                <div class="ts-date-item">
                    <i class="fa fa-clock-o"></i>
                    <?php echo current_time(get_option('date_format')); ?>
                </div>
            </div>
            <!--end col -->
        </div>
        <!-- end row -->
    </div>
</section>
<!-- end top bar-->
<?php endif; ?>



<!-- header nav start-->
<header class="navbar-standerd nav-bar4">
    <?php get_template_part( 'template-parts/navigations/nav', 'primary-style3' ); ?>
</header>
<!-- header nav end-->


<?php if(vinkmag_option('header_show_banner', 'yes') == 'yes'): ?>
<!-- ad banner start -->

<!-- ad banner end -->
<?php endif; ?>

