while (have_posts()) { the_post(); }

Şöyle dener misin?