Back to Support Content and Media Pages and Posts Change the Order of Your Posts

Change the Order of Your Posts

By default, posts will display in reverse chronological order (from newest to oldest). However, sometimes you might want to reverse that and display your posts from oldest to newest. This guide will explain several methods to do so.

Change the Post Date

You can adjust the date and time for any post on your site, even if it’s already published. You can choose any date in the past or future. Let’s say you have two posts:

  • Post 1 published on March 17th at 3pm.
  • Post 2 published on March 17th at 4pm.

The second post will appear at the top of the list because it is the most recent. To make it appear below the first post, change the date of Post 2 to earlier than the first post, such as 2pm.

To learn how to change the date of a post, visit this guide.

Use the Query Loop Block

The Query Loop block displays posts (or any other type of content) on a page. It allows you to set the order of the posts with the following options:

To start:

  1. Visit your dashboard.
  2. Go to Pages → Add New to create a new page for your posts.
  3. Click the + Block Inserter and search for the Query Loop block. Click to add it to the page.
  4. Choose a layout for your posts. You can always change it later.
  5. In the Query Loop block settings on the right, change the Order by setting to ‘from oldest to newest’ or your desired setting. If you don’t see the Order by setting, ensure you have turned off Inherit query from template.

For a more detailed guide on how to use the Query Loop block, see this guide.

Use the Latest Posts Block

The Latest Posts block displays your most recent posts. Similar to the steps in the previous section, add the block to a new page and visit the block’s settings.

You can choose how you wish to order the posts, with choices of:

  • Newest to Oldest (default)
  • Oldest to Newest
  • Alphabetical A to Z
  • Alphabetical Z to A

Add a String to Your URLs

Using a handy trick with URLs, you can reverse the order of posts on default archive pages following these steps:

  1. Find the URL of the archive page for posts you wish to display chronologically. You can choose your whole blog feed, a specific category, or even a tag. Your URL should look something like this:
    • Posts for an entire year: https://wordpress.com/dailypost/2014/
    • Posts for a specific month: https://wordpress.com/dailypost/2014/06/
    • Posts for a specific category: https://wordpress.com/dailypost/category/topic-ideas/
    • Posts for a specific tag: https://wordpress.com/dailypost/tag/humor/
  2. Reverse the order by adding ?order=asc to the end of the URL:
    • Posts for an entire year: https://wordpress.com/dailypost/2014/?order=asc
    • Posts for a specific month: https://wordpress.com/dailypost/2014/06/?order=asc
    • Posts for a specific category: https://wordpress.com/dailypost/category/topic-ideas/?order=asc
    • Posts for a specific tag: https://wordpress.com/dailypost/tag/humor/?order=asc
  3. Now you should see all the posts with the oldest first instead of the newest.
  4. Optional: Add the URL to your site’s menu.

You can also load a random post on a blog by adding ?random to the end of your site’s URL:
https://wordpress.com/dailypost/?random

Create a Book-Like Structure

Following these steps will produce chapters and a front page with links to each chapter.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!