Forums
Home / Fixing WordPress / Posts Not Displaying on index.php
(@gshart)
14 years, 2 months ago
Going through to tutorial and building new theme. Posts are not displaying in index.php. Thank you in advance for your help.
Here’s the code:
<div id=”container”>
<?php if(have_posts()):?><?php while(have_posts()):the_post();?> <?php endwhile;?> <?php endif;?>
</div>
(@rvoodoo)
Multiple posts, see the other
http://wordpress.org/support/topic/359666?replies=2
You need to tell WP to display posts if you want them there!