<?php
/**
 * Template part for index and archive loop
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package store-expert
 */

?>

<div class="col-lg-9 col-md-12 col-sm-12 content-area">
	<div class="blog-wrapper container">
		<?php if(is_archive()) : ?>
			<div class="archive-head">
				<h1><?php the_archive_title(); ?></h1>
			</div>
		<?php endif; ?>
		<?php if ( have_posts() ) : ?>
			<?php while ( have_posts() ) : the_post(); ?>
				<article <?php post_class('single-index'); ?>>
					<div class="index-single-post">
					
						<?php 
							//Incex post meta
							do_action( 'store_expert_index_postmeta' );
						?>
					</div>
				</article>
			<?php endwhile;	?>
		<?php endif; ?>		
		<?php 
			//Pagination
			//template-hooks.php L168 to L177
			do_action( 'store_expert_index_pagination' );
		?>
	</div>
</div>