'post', 'posts_per_page' => absint($number_of_posts), 'paged' => $paged, 'post__not_in' => get_option('sticky_posts'), 'post_status' => 'publish', 'orderby' => 'date', 'order' => 'DESC' ); if (absint($category) >= 0) { $ins_args['cat'] = absint($category); } $all_posts = new WP_Query($ins_args); return $all_posts; wp_reset_query(); } ?>
have_posts() ) : ?>