Blog posts are typically displayed in reverse chronological order, with the newest post first. This guide explains different methods to change the default order and arrange your blog posts differently so you can choose the method most suitable for your blog. This includes reversing the default order of posts and displaying them from oldest to newest or arranging them alphabetically.
In this guide
If your blog posts are displayed on your site using either the Query Loop block or the Latest Posts block, you can reverse the default newest to oldest order in that block’s settings.
In a block theme, posts are typically displayed in chronological order (newest first) using the Query Loop block. To change the order of your posts with this method, take the following steps:
- Visit your site’s dashboard.
- Navigate to Appearance → Editor.
- Click on the “Templates” option in the left sidebar.
- Select the template used to display your posts (often the homepage or Index template) and edit it.
- Open the List View and select the existing Query Loop Block.
- In the Query Loop block settings on the right, locate the “ORDER BY” drop-down box. If this doesn’t show, ensure the “Query Type” is set to the “custom” option.
- In the “ORDER BY” drop-down box, choose from the following options:
- “Oldest to newest” to reverse the order of blog posts.
- “A → Z” option to display posts alphabetically.
- “Z → A” option to display posts in reverse alphabetical order.
- Click the “Save” button at the top right to save the page with the updated order of blog posts.
You can also create a new template and add a Query Loop block to display posts in your preferred order.
You can also display blog posts using the Latest Posts block. To change the order of your posts with this method, take the following steps:
- Visit your site’s dashboard.
- Click on Pages on the left side and identify the page displaying your blog posts.
- Click on the page title to open it in the page editor.
- Open the List View and select the Latest Posts block.
- In the Latest Posts block settings, locate the “ORDER BY” drop-down box.
- In the “ORDER BY” drop-down box, choose from:
- “Oldest to newest” to reverse the order of blog posts.
- “A → Z” option to display posts alphabetically.
- “Z → A” option to display posts in reverse alphabetical order.
- Click the “Save” button at the top right to save the page with the updated order of blog posts.
You can also create a new page and add a Latest Posts block to display posts in your preferred order.
If you have a classic theme, and therefore can’t use the block options shared above, you can reverse the order of posts on default archive pages by adding the ?order=asc
string to URLs.
To reverse the order of posts on archive pages on your blog, follow these steps:
- Find the URL of the archive page for posts you wish to display chronologically. You can choose your whole blog feed, a specific year, month, or even a tag. Your URL should look something like this:
- Whole blog feed:
https://jetpack.com/blog/
- Posts for an entire year:
https://jetpack.com/blog/2024/
- Posts for a specific month:
https://jetpack.com/blog/2024/09
- Posts for a specific category:
https://jetpack.com/blog/category/ai/
- Whole blog feed:
- Add
?order=asc
at the end of your URL, like in these examples:- Whole blog feed:
https://jetpack.com/blog/?order=asc
- Posts for an entire year:
https://jetpack.com/blog/2024/?order=asc
- Posts for a specific month:
https://jetpack.com/blog/2024/09?order=asc
- Posts for a specific category:
https://jetpack.com/blog/category/ai/?order=asc
- Whole blog feed:
- Visit pages at the updated URLs ending with
?order=asc
to see all the posts displayed from oldest to newest. - Optional: Add the URL to your site’s menu.
You can load a random post on a blog by adding ?random
to the end of your site’s URL:
https://jetpack.com/blog/?random
You can selectively swap the order of specific posts by changing the date and time that post was published. You can edit an already-published post and set any date in the past or future.
To change the date and time of a post:
- Visit your dashboard.
- Click on Posts on the left and select any post to edit it.
- In the post settings on the right, look for the “Publish” option.
- Click the date displayed to open the calendar view.
- Choose the new date and/or time.
- Click the “Save” button.
Let’s say you have two posts published at 3 p.m. and 4 p.m. on a particular day. The 4 p.m. post is displayed at the top because it’s the most recent. You can change the 4 p.m. post to an earlier time, such as 2 p.m., to move it below the 3 p.m. post.