Inverse order of posts
-
The other posts I’ve read on this topic haven’t worked on my blog–
When someone clicks on a category and the posts appear in the main content area, I’d like to have the posts appear with the oldest post on top and newer posts in descending order.
The page is: https://internetmarketingforbusinessowners.com/wordpress/category/2-category/
The code currently looks like this:
<?php while (have_posts()) : the_post(); ?>
<div class=”post”><h3 id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
</div>
<?php endwhile; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Inverse order of posts’ is closed to new replies.