<?php get_header(); ?>
<div class="row main-estrutura2">

<div class="col-md-7 layout-main-content">
		
		<div class="page-head">
			<?php if ( have_posts() ) the_post(); ?>
			<h2 class="page-title">
				<?php if ( is_day() ) : ?>
					<?php printf( __( 'Daily Archives: <span>%s</span>', 'oriont' ), get_the_date() ); ?>
				<?php elseif ( is_month() ) : ?>
					<?php printf( __( 'Monthly Archives: <span>%s</span>', 'oriont' ), get_the_date( 'F Y' ) ); ?>
				<?php elseif ( is_year() ) : ?>
					<?php printf( __( 'Yearly Archives: <span>%s</span>', 'oriont' ), get_the_date( 'Y' ) ); ?>
				<?php else : ?>
					<?php _e( 'Blog Archives', 'oriont' ); ?>
				<?php endif; ?>
			</h2>

		</div>

				
		<?php
		rewind_posts();
		get_template_part( 'content', 'archive' );	?>
		<?php if ($wp_query->max_num_pages > 1) oriont_pagenavi(); ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>