Post lists and pagination - Glekk

Pages, blog and patterns

The blog listing, the archives and the author pages list posts as cards, three to a row on wide screens, two on tablets and one on phones. A row of category chips sits above the blog and archive lists, and page numbers sit below.

#Choose how a list pages

With Glekk Pro, the page numbers of a list can load the next posts in place.

Open the list

Open the template or page in the editor. The blog listing is the Blog Home template and the archives are All Archives, in AppearanceEditorTemplates.

Select the pagination

Click the posts and choose Edit pattern in the block sidebar. Then click the page numbers under the posts. That is the Pagination block.

Pick a style

In the block sidebar, open Styles and pick one, then save.

The Styles panel of the Pagination block with Default, Numbers no reload, Infinite scroll and Load more ringed
The four ways a list can page.
Numbers, no reload (Pro)

The page numbers swap the posts in place and the address follows. The theme's own lists use it by default while Pro is active.

Load more (Pro)

A Load more button adds the next page of posts under the ones shown.

Infinite scroll (Pro)

The next page comes in as the reader nears the end of the list.

Default

Plain page links, one page load each. This is how lists page with the theme alone.

#Good to know

  • Every style reads the next page from the link it already has. If the page script cannot run or a request fails, the links work as plain pages.
  • Posts per page come from SettingsReading.
  • While posts load, a small animated loader turns beside the word Loading. With reduced motion turned on in a visitor's device settings, the loader stands still and the list jumps without a glide.
  • The category chips are the Categories row section. To drop them from the blog listing, delete that section in the Blog Home template.
  • For the archive as a whole, see Setting up an archive from scratch.

Last updated

Was this article helpful?

FIND THE ONE THAT FITS YOUR PROJECT

Import a demo, swap the content, adjust the layout. Modern WordPress under the hood, fast even when the site fills up.