Need to reverse order in displaying posts
-
I am very new to WordPress/coding. In my footer I have a blog posted but the entries are displayed in oldest to newest order and I would like them in the reverse. I see the suggestion to add:
‘<?php query_posts($query_string . ‘&order=DESC’); ?>’
which I have done just previous to the ‘<?php if(have_posts()):’ code but it does not reverse the order (tried both ASC and DESC).
‘<?php do_action(‘udesign_above_page_content’, is_front_page()); ?>
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<div class=”entry”>’
- The topic ‘Need to reverse order in displaying posts’ is closed to new replies.