Pages and Posts

Posts » Change the Order of Your Posts

By default, posts are designed to display in reverse chronological order (from newest to oldest). However, sometimes there are reasons why you might want to reverse that and display your posts in chronological order (from oldest to newest).

You have several options if you want to order your posts chronologically.

Table of Contents

Use the Query Loop Block

The Query Loop block displays posts (or any other type of content) wherever you’d like. It allows you to set the order of the posts with the following options:

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

To start:

  1. Create a new page to show your posts.
  2. Click the + Block Inserter and look for the Query Loop block. Click to add it to the page.
  3. Choose a layout for your posts. You can always change it later.
  4. 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 more information on how to use the Query Loop block, see this guide.

↑ Table of Contents ↑

Use the Latest Posts Block

The Latest Posts block displays your most recent posts. Add the block to your page or post, and then look at 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

↑ Table of Contents ↑

Add a String to Your URLs

  1. Find the URL of the 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:
  2. Choose a start date!  You can pick which date you want to be the starting point for your posts.
    Let’s say we pick January 1, 2014.
  3. Add that date to your URL:
    That should give us all the posts from January, starting with the newest.
  4. Reverse the order by adding ?order=asc to the end of the URL:
    Now you should see all the posts from January, starting with the oldest!
  5. Optional: create a custom menu with a link to the URL you created

You can also show all your posts for the year like this:

You can show your posts for a specific Category like this (substitute “topic-ideas” for your category name):

Or you can even show your posts for a specific Tag like this (substitute “humor” for your tag name):

You can also load a random post on a blog by adding ?random to the end of your site’s URL:

↑ Table of Contents ↑

Use a Shortcode

Create a page to use to display your posts and add a Display Posts Shortcode to the page. Make sure to add the order parameter to your shortcode (order=”asc”).

Since the shortcode will also work on a post, another option is to create a sticky post and add the shortcode to it.

↑ Table of Contents ↑

Alter the Publish Date

Manually adjust the publish date on your posts before you publish them to set the order you want them to display. If your posts have already been published, you can edit them and adjust the publish date. This option might be fine if you don’t have large amount of already-published posts. Otherwise, one of the other options listed is likely going to be an easier option for you.

↑ Table of Contents ↑

Create a Book-Like Structure

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

↑ Table of Contents ↑


Not quite what you're looking for?

Get Help