Sign in to follow this  

WordPress next page not working HELP

Recommended Posts

ACTIONpack    383

This is the first time I ever use WordPress and having trouble getting the Older entries to show up. What happen is that it says its on the second page but the blogs are the last. What am I doing wrong?

<?php get_header(); ?>
<div id="content-info-wrap" class="content-blog">

<?php query_posts("posts_per_page=5"); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="post">

<div class="datebg">
<div class="month"><?php the_time('M'); ?></div><div class="day"><?php the_time('d'); ?></div>
<img src="" alt="" title="" />

<div class="preview-image">
<em><?php the_post_thumbnail( array(620,295) ); ?></em>
<p>If you see this message then the image didn't load or was not found. <br />
Content the webmaster to fix the problem. <a href=""></a></p>

<h4><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h4>

<div class="entry">

<?php the_content('Continue Reading ↑'); ?>
<em class="post-author">Posted by <?php the_author(); ?> | <? the_category(', '); ?></em>

<?php endwhile; ?>
<?php include (TEMPLATEPATH . '/inc/nav.php' ); ?>
<?php else : ?>
<h2>Not Found</h2>
<?php endif; ?>

</div> <!-- END Content Info Wrap -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Share this post

Link to post
Share on other sites
ACTIONpack    383

Thanks leddy so much for helping me fix the problem.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.