if ($deals_query->have_posts()) {
    ?>


	<div class="isotope-wrapper" data-isotope-cols="3" data-isotope-gutter="30">
		
		<?php 
    while ($deals_query->have_posts()) {
        $deals_query->the_post();
        ?>

				<div class="deal-item-wrapper">
					<?php 
        get_template_part('loop/content', 'deal');
        ?>

				</div>
				
		<?php 
    }
    ?>


	</div><!-- end isotope-wrapper -->

	<?php 
    // Pagination
    fw_ssd_paging_nav($deals_query);
    wp_reset_postdata();
}
//have_posts()
예제 #2
0
        ?>
" class="more"><?php 
        esc_html_e('Continue Reading', 'couponhut');
        ?>
<i class="fa fa-arrow-right"></i></a></p>
							</div>
						</div><!-- end post-content -->
					</div><!-- end col-sm-8 -->
					
								
				</article>

			
			<?php 
    }
    fw_ssd_paging_nav();
} else {
    ?>


			<div class="no-posts-wrapper">
				<h3><?php 
    esc_html_e('No posts found', 'couponhut');
    ?>
</h3>
			</div>

			<?php 
}
?>