Skip to content

Using the Posts module on an archive page

WordPress archive pages already makes the query for you (if on a “Services” archive page, “Service” posts are already sent to the page and just needs displaying). For best performance, select only Main Query from the source when setting up the Posts module on an archive page.

blog-archive-page-posts-module

Doing otherwise (using Custom Query on an archive page) would duplicate the query, adding unnecessary load on the server. This is because one query is made for the archive page by WordPress, and another query made by the Posts module.

For example, this is the correct way to set up blog post listings on a blog post archive page:

The Custom Query option should only be used on pages that aren’t archive pages, e.g. listing 5 of the latest blog posts on the home page.

Scroll To Top