3, 'post__not_in' => $is_sticky, //'ignore_sticky_posts' => false, 'tax_query' => array( array('taxonomy' => 'post_format', 'field' => 'slug', 'terms' => $terms, 'operator' => 'NOT IN', ),),); $query = new WP_Query($args); if ( $query->have_posts() ) :?>

have_posts() ) : $query->the_post(); if ( ! get_post_format()): /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'template-parts/content', 'article-2' ); else: get_template_part( 'template-parts/content', get_post_format() ); endif; endwhile; wp_reset_postdata(); ?>