4, 'post__in' => $is_sticky, 'ignore_sticky_posts' => 1, ); $query = new WP_Query( $args ); if ( $query->have_posts() ) : while ( $query->have_posts() ): $query->the_post(); if ( get_post_format() ): get_template_part( 'template-parts/content', get_post_format() ); else: get_template_part ('template-parts/content', 'featured-article-tag'); endif; endwhile; wp_reset_postdata(); endif; ?>