<?php get_header(); 
$cat_id = get_query_var('cat');
?>

<div class="row main-estrutura2">
  <div class="col-md-7 layout-main-content">
    <?php $category_id = get_query_var('cat') ; ?>
    <div class="page-head">
      <h2 class="page-title"> <?php printf( __( '%s', 'oriont' ), '<span>' . single_cat_title( '', false ) . '</span>' );	?> </h2>

    </div>



<?php if ( have_posts() ) : ?>

<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php //get_template_part( 'content', get_post_format() ); ?>

<?php get_template_part( 'loop');	?>

<?php endwhile; ?>
<?php if ($wp_query->max_num_pages > 1) oriont_pagenavi(); ?>
<?php else : ?>
<h2 class="post-title">Not Found</h2>
<div class="clear"></div>
<div class="entry">
<p>Apologies, but the page you requested could not be found. Perhaps searching will help.</p>
<?php endif; ?>
<?php //get_template_part( 'content-full');	?>



  </div>
  <?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
