$number, 'post_status' => 'publish', 'cat' => $cat, 'ignore_sticky_posts' => true ); $query = new WP_Query( $args ); if ( $query->have_posts() ) : ?>