Sign in to follow this  
Followers 0

WordPress next page not working HELP

3 posts in this topic

Posted

http://www.romabio.com/newsstand/

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="http://www.romabio.com/newsstand/wp-content/themes/RomaUSA/images/blog-date.png" alt="" title="" />

			    </div>


			    <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="mailto:info@romabio.com">info@romabio.com</a></p>

			    </div>


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


    <div class="entry">


	 <?php the_content('Continue Reading &uarr;'); ?>

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


    </div>

   </div>

<?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

Posted

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.