Postingan lainnya
buat thema di wordpress
<h1>FadhilsWeb</h1>
<?php
if(have_posts()):
while(have_posts()): the_posts();?>
<h2><?php the_title();?></h2>
<p><?php the_content();?></p>
<?php
endwhile;
else:echo 'tidak ada post';
endif;
?>
ini isi file index.php pertama,perasaan udah sama dg di video tapi kok error ya gan..?? ini isi errornya: Fatal error: Call to undefined function the_posts() in C:\xampp\htdocs\wordpress\wp-content\themes\Fadhilsweb\index.php on line 4
0
1 Jawaban:
Jawaban Terpilih
baru pertama ya gan ..?? wkwk sama
itu the_post bukan the_posts yang belakang
1