How to create a list of all WordPress blog posts

Lifelog

Conrad Bangkok.. Extended exposure photo…

image

The need

I needed this myself. I am new to the WordPress platform.

I wanted to add a page containing all my post titles for a simple reason. I don’t want to repeat the same post. Trust me it can happen!

So I did lot of R&D and finally found this simple method. No programming is necessary.

As a result I added the All Posts page to this blog.

The solution: WordPress archives Shortcode

    1. Go to WordPress admin page
    2. Go to Pages and Add New Page
    3. In the visual editor (no need to go to the text editor) type
      [ archives order=asc]
    4. Save and publish the pageWordPress archives
    5. That’s it. The page now lists all the posts in ascending order (oldest first)All WordPress posts

There are many other options available for refining the archive list. These modifiers are documented at Archives Shortcodes.

Problem

I wanted a serial number before each post. There is a before and after tag. But it did not work as the already has a

    tag around it. So OL and LI was ignored.

Better method

Then I found a better shortcode called [ display-posts]

This one gives much more customization options.

The final shortcode gave me exactlly what I wanted.

[ display-posts wrapper=”ol” order=asc display-posts posts_per_page=”500″ include_date=”true” date_format=” : j M y” ]

Here is the final result – All Posts Page

List of blog posts in WordPress

Queries | Comments | Suggestions | Wish list

Subscribe to Blog

Join 1,750 other subscribers

Popular articles

Use the power of Free Microsoft 365 Copilot to work more efficiently and grow faster in your career.

Excel to Power BI Course

Learn Power BI using the concepts you already know in Excel. Fast transition, in-depth coverage and immediately usable.

Pivot Table Pro Course

Yes. You use Pivot Tables everyday. Now it is time to find out the real power and nuances. 5.5 hours video, exercises, samples, Q&A.