WordPress.org

Ready to get started?Download WordPress

Forums

Order of the posts (2 posts)

  1. abhija
    Member
    Posted 7 years ago #

    Hi there,
    I am making a blog for my Ham Radio activities.
    I want my oldest posts to appear at the top most position and the latest at the end.

    How to do that? Plz guide me.
    Thanks.

  2. Aergonaut
    Member
    Posted 7 years ago #

    Try putting the following just before the Loop initializes in your template file (i.e., before if (have_posts()) : while (have_posts()) : the_post();):

    <?php query_posts('order=ASC'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic