Reverse results of Archive query?
-
Does anyone know how I can change this code to display the oldest results first instead of the newest?
<?php $archive_query = new WP_Query('showposts=1000'); while ($archive_query->have_posts()) : $archive_query->the_post(); ?> <a href="<?php the_permalink() ?>"><?php the_title(); ?></a><br /> <?php endwhile; ?>
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Reverse results of Archive query?’ is closed to new replies.