Support » Fixing WordPress » Posts on Home page in Wrong order?

  • Hi All,

    I just upgraded to 2.7.1 but now on my home page all my posts are in the wrong order. When I add a new post it is adding it to the bottom of the list rather than the top. An also on the recent posts widget of the left it is showing them in reverse order as well.

    In the theme it has the following code:

    <?php if (have_posts()) : ?>
    		<?php while (have_posts()) : the_post(); ?>
    			<div class="post">
    			<h1 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
    				<div class="right-Block">
    					<?php ratings_table(); ?>
    				<div class="entry">
    					<?php the_content('Read the rest of this entry &raquo;'); ?>
    				<div class="postinfo">
    					<div class="alignleft"> <?php the_category(', '); ?></div>
    					<div class="p_comments"><?php comments_popup_link('Add comments', '1 comment', '% comments'); ?></div>
    		<?php endwhile; ?>
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    	<?php else : ?>

    Which all looks right to me.

    Can someone point me in the right direction please.


  • The topic ‘Posts on Home page in Wrong order?’ is closed to new replies.