function more_posts() { global $wp_query; return $wp_query->current_post + 1 < $wp_query->post_count; }