‘post’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => -1 ); $posts = query_posts($args); if (have_posts()) : while (have_posts()) : the_post(); ?>