Okay, I posted earlier tonight and I figured out how to get one post to show. But as I make new posts, it’s not updated.
Ideally I would like to have 6 posts displayed on the index.php. I can’t get it. When I put the code:
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
into my page, it seems that the $post isn’t found. To get the single post to show up i put simple start_wp(), without the if/else statement. But I without the if/else I can’t get more posts to show up on the page.
- The topic ‘$post missing?’ is closed to new replies.