5, 'post__in' => get_option('sticky_posts'), 'ignore_sticky_posts' => 0 ); $the_query = new WP_Query( $args ); if ( $the_query->have_posts() ) : ?> have_posts() ) : $the_query->the_post(); array_push($ids, get_the_ID()); endwhile; // end of the loop. // Set ids $ids = implode(',', $ids); $readmore = __( 'Continue reading ', 'flatsome' ); ?>