0): //make sure a category has been selected ?>

'post', 'showposts'=>1, 'cat'=> $bloc_category, ); $bloc_posts = new WP_Query($args); if($bloc_posts->have_posts() ) : while ( $bloc_posts->have_posts()) : $bloc_posts->the_post(); if(has_post_thumbnail()){ bastille_get_template_part('template-parts/content-article-mix-big.php', 'large-8 medium-6 small-12', 'post-mix-thumb'); }else { bastille_get_template_part('template-parts/content-article-without-thumb.php', 'large-12 medium-12 small-12', 'post-mix-thumb'); } ?>
'post', 'showposts'=>2, 'cat'=> $bloc_category, 'offset'=>1 ); $bloc_posts = new WP_Query($args); if($bloc_posts->have_posts() ) : while ( $bloc_posts->have_posts()) : $bloc_posts->the_post(); if(has_post_thumbnail()){ bastille_get_template_part('template-parts/content-article-mix-small.php', 'large-8 medium-6 small-12', 'post-mix-thumb'); }else { bastille_get_template_part('template-parts/content-article-without-thumb.php', 'large-12 medium-12 small-12', 'post-mix-thumb'); } ?>