Skip to content

From the technical point of view, WordPress calls a list of posts displayed in a page a loop.

Loops are present in:

  • the home page, when using the blog index as your home,
  • pages using the Blog template,
  • archives pages

There are three layouts that you can use with loops:

  • Standard: in this layout, posts are stacked one after another, and they have multiple details shown, such as the author and number of comments,
  • Grid: here posts are arranged in a masonry grid layout,
  • Compact: similar to the Standard layout, but with less information.

If you choose the loop to have a Grid layout, you’ll also have an option to highlight the very first post of the loop making it bigger.

Advanced loops

For the Home page loop and loops in pages with the Blog template, advanced options are available to control what items are shown in the loop.

You can filter from which taxonomies posts must be selected, or which taxonomies to exclude from the loop.

In pages with the Blog template, you’ll also be able to control the number of items displayed in the loop, thus affecting its pagination.

Note. By activating the Jetpack plugin and its Infinite Scroll module, subsequent posts in the loop can be loaded without even refreshing the page.

Loop sliders

Before loops in the home page and in Blog page templates, you can add a slider that shows selected posts in a carousel format.

Posts sliders can pick up posts in two ways:

  • you can pick individual posts and rearrange them in the order you want them to be displayed,
  • or you can select a certain number of posts from specific taxonomies.