1, 'post__in' => $sticky, 'ignore_sticky_posts' => 1 ); $query = new WP_Query( $args ); if ( isset($sticky[0]) ) { get_template_part( 'content', get_post_format() ); } ?>