Jump to content



Photo

WordPress next page not working HELP


  • Please log in to reply
2 replies to this topic

#1 ACTIONpack

ACTIONpack

    Graphic Designer

  • Tech Issues Solved: 1
  • Joined: 10-August 03
  • Location: Lawrenceville, GA
  • OS: Windows 8.1 Pro
  • Phone: HTC Windows 8X

Posted 07 January 2013 - 05:20

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(); ?>



#2 Leddy

Leddy

    Neowinian Senior

  • Joined: 11-July 03

Posted 07 January 2013 - 07:33

http://codex.wordpre...eter_to_a_query

#3 OP ACTIONpack

ACTIONpack

    Graphic Designer

  • Tech Issues Solved: 1
  • Joined: 10-August 03
  • Location: Lawrenceville, GA
  • OS: Windows 8.1 Pro
  • Phone: HTC Windows 8X

Posted 07 January 2013 - 08:03

Thanks leddy so much for helping me fix the problem.



Click here to login or here to register to remove this ad, it's free!