'post',
'paged' => $paged,
) );
$ads_position = get_theme_mod( 'ad_position_homepage', 2 );
if ( $query->have_posts() ) : ?>
have_posts() ) :
$query->the_post();
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
wp_reset_postdata();
?>
max_num_page > 0.
digimag_lite_pagination();
// Reset $wp_query.
$wp_query = null;
$wp_query = $temp_query;
else :
get_template_part( 'template-parts/content', 'none' );
endif;