• khaleel

    (@khaleel)


    My site https://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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wordpress wont loop or show more than one entrie’ is closed to new replies.