$post missing? (2 posts)

  1. BenBlei
    Posted 10 years ago #

    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.
    Any suggestions?

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    It looks like you have removed too much wp code.
    The post title should be a permalink, it isn't. Without that being a permalink, you cannot have archives, you'll have problems with trackback and pinging too.
    You need everything inside The Loop - all of it.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.