How to display post...
 
Share:
Notifications
Clear all

How to display post loop in WordPress index.php?

David Wilson
(@davidwilson)
Active Member Registered

Need proper code to display post loop in WordPress index.php page.

This topic was modified 2 weeks ago by David Wilson
Quote
Topic starter Posted : 11/05/2022 7:35 am
a70c51106900eba242692ba52c12d253?s=110&d=mm&r=g
(@vishaljaiswal)
Member Admin

<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>

// Your Post Content
 
<?php endwhile; ?>
<?php endif; ?>

ReplyQuote
Posted : 11/05/2022 7:39 am
Share: