Bu kod yerine;

$args = array(

'post_type' => "post",
'post_status' => "publish"
);

$result = new WP_Query($args);
while($result->have_posts() ): $result->the_post();



Bunu kullanmayı dene;








Sondaki endwhile; kodundan sonra endif; ekle.

Yani sayfa aşağıdaki gibi olacak;



get_header();
if (have_posts()) : while (have_posts()) : the_post();


?>





ID),'thumbnail'); ?>












endwhile;endif;
get_footer();
?>