WordPress.org

Ready to get started?Download WordPress

Forums

wordpress wont loop or show more than one entrie (4 posts)

  1. khaleel
    Member
    Posted 8 years ago #

    My site http://www.khaleel.co.uk (also link in profile) as you can see from the entries div, it only displays one post, so if I post something now, it will remove the current post and replace it with the new one instead of going down below it. My code is like this

    <img src="buffy_back_vector.jpg" style="position: absolute; left: 0; top: 0" width="784" height="574">
    <div align="justify">

    <div id="content" style="width: 437px; height: 4673px; background-color: #FFFFFF;">
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <div class="comments"><b><?php the_title(); ?></b> <b>
    |</b> <b>|</b> <b><?php the_date() ?></b><br></div>

    <div class="title2"> <b><?php the_author() ?></b> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    </br>
    <?php the_content('Read the rest »'); ?>
    <center><?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?></center><?php wp_link_pages(); ?>
    </div>
    <?php endwhile; ?>
    <?php endif; ?>

    </br>
    </div>

    So I dont know whats going wrong, can anyone help? I did search also

  2. moshu
    Member
    Posted 8 years ago #

    admin panel > Options > Reading > show posts ... ?

  3. khaleel
    Member
    Posted 8 years ago #

    That has up to 10 posts, im not that newb

  4. khaleel
    Member
    Posted 8 years ago #

    anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic