Privacy

Build reliable WordPress archive pagination and Load more journeys

Choose collection navigation, preserve query context and public URLs, and test later results, keyboard focus, retries, filters and Back navigation as one browsing journey.

Made by Pagember · Editorial policy

Primary sources + editorial analysisPublished Updated Sources

The short answer

Pick the pattern that fits how readers browse: numbered pages for position and repeatable URLs, Load more to extend the list deliberately, or infinite scroll only when continuous browsing suits the content. In the Site Editor, keep the Query Loop on Default for category or tag archives, place a Pagination block inside it, then open page two logged out to confirm it shows the same category.

On this page9 sections

A blog archive must let people reach older content reliably. Pagination, a Load more button and infinite scroll offer different browsing experiences, but none should make later articles unreachable, lose the selected category or strand a keyboard user.

WordPress official logo above a conceptual chain diagram: Archive, Page links, Load more.

Choose the interaction around your reader's task, then check content selection, navigation, public URLs and failure states together. This guide covers collection browsing, not splitting one long article into sections or changing individual post addresses.

Choose the interaction before styling its controls

PatternUseful whenWhat needs extra attention
Numbered or previous/next pagesReaders need position, repeatable URLs and direct navigationClear current-page state and usable controls on narrow screens
Load moreReaders want to extend the current list deliberatelyLoading, focus, duplicate prevention and a discoverable URL route
Infinite scrollContinuous browsing genuinely suits the contentPosition restoration, end state, footer access and alternatives to scroll triggers

Prefer a simple reliable route over a more elaborate interaction without defined behavior. For a small tutorial library, ordinary pagination can be an effective starting point. A Load more enhancement can be worthwhile when it preserves the same discoverable content and works with the site's existing theme.

Decide what a copied address represents: one page of results, the current expanded state or just the archive's beginning. Make that choice explicit so development and acceptance testing agree.

Check which query selects the articles

In WordPress, the Query Loop block controls the selected posts and contains nested presentation and navigation blocks. Its current documentation distinguishes query settings from the Post Template's repeated layout. Use List View to select the correct level instead of changing one card and expecting a different result set.

On an archive, establish whether the loop should use the current archive context or a deliberate custom query. Record the post type, topic filters, order and number shown. A category archive should not quietly become a list of all posts when the visitor asks for the next page.

Compare the first and later result batches using identifiable articles. Confirm that the title or image really links to the post; not every layout enables every link by default. Changing pagination controls cannot repair cards with no useful destination.

Set up archive pagination in the Site Editor

  1. Go to Appearance → Editor → Templates and open the template that renders the list, such as Archive, Category or Blog Home.
  2. Open List View and select the Query Loop block itself, not the Post Template inside it.
  3. In the block settings, leave Query type on Default for a category or tag archive, so the loop follows the archive the visitor opened. With Default, the number of posts per page comes from Settings → Reading → Blog pages show at most. Switch to Custom only for a hand-picked list, where Items per Page and Filters appear.
  4. Check that a Pagination block sits inside the Query Loop, below the Post Template. If it is missing, add it from the inserter while the Query Loop is selected, then choose previous/next links, page numbers or both.
  5. Under Advanced, keep Reload Full Page on unless you have tested the alternative. When it is off, only the posts inside the loop update.
  6. Save, then open page two of a real archive logged out, for example https://example.com/category/guides/page/2/. It should show the next posts of the same category, and its canonical should point to that page-two URL.

If the archive itself mixes unrelated topics, fix the category and tag structure first; pagination only pages through what the archive already selects.

Keep navigation attached to the intended loop

The native Pagination block provides previous, next and page-number components within the Query Loop. Review the chosen combination and its labels. If the template contains several lists, confirm that one list's controls advance that list rather than unexpectedly changing another.

Classic or custom themes may implement navigation differently. The paginate_links reference exposes configuration such as total pages, current page, URL format and labels. These values must match the query that actually selected the content; copying a snippet with a hard-coded total is not a durable fix.

Preserve the existing theme workflow. A scoped maintainer change is preferable to replacing the archive template without understanding its filters or shared components. For shared template edits, first review the safe reuse guide.

Google's incremental-loading guidance covers blog collections as well as products. It recommends a unique URL for each page in a sequence and a canonical for each page, rather than pointing them all at page one. A hash-only change is not an equivalent discovery route.

Its crawlable-link guidance explains the role of anchor links with href destinations. Google generally does not activate a Load more button to discover the next batch. A sitemap can help discovery, but it should not be the sole remedy for an archive whose later content has no usable navigation.

Test a later-page address directly in a fresh logged-out session. It should return the intended articles without requiring someone to click through all previous batches first. Review the parameter and canonical guide before stripping page-selection parameters as supposed duplicates.

Define loading, error, retry and completion states

A deliberate Load more control should announce its purpose and prevent overlapping requests from adding the same batch twice. The native button element provides keyboard activation semantics; a styled text container is not an equivalent substitute.

While loading, keep the already available articles usable. If a request fails, retain them, explain what failed and offer a retry that requests the correct next batch. Do not replace the whole archive with a spinner or increment the page counter before confirming success.

Define the last-batch behavior too. A clear “All articles shown” state is different from an empty area that leaves the visitor waiting. Treat a legitimate empty category differently from a failed request.

Keep keyboard and assistive-technology users oriented

Decide what happens to focus when new cards appear. A visitor should be able to reach the new content and continue without tabbing through the entire old list again or being moved somewhere unexplained. The appropriate journey depends on where the control sits and how the content is inserted.

W3C's focus-order guidance requires an order that preserves meaning and operation. Test the actual keyboard route from activation through new results, retry and completion. Do not add arbitrary positive tabindex values to simulate a visual order.

Its status-message guidance addresses updates that can be conveyed without moving focus. A suitable result count or loading outcome may need a programmatically exposed status. Avoid announcing every card or repeatedly interrupting the reader.

Check Back, refresh and filter changes

Open an article from a later batch, then use Back. Does the archive restore a useful position and selection, or force the visitor to start again? Refresh or copy the current address and compare the result with your documented URL behavior.

The History API can support session-history state in enhanced interfaces, but changing the address does not by itself implement server-side retrieval at that address. Both paths need acceptance tests.

Change a category or search term after loading several batches. Reset the pagination state appropriately and verify that subsequent requests preserve the new selection. An in-flight response for the old selection must not append stale items into the new list. If JavaScript fails, the available fallback should still let readers reach the collection.

Test the final archive with a small content matrix

  1. Choose a collection with enough published items for several batches and another with no matches.
  2. Compare expected item identity and ordering across the first, middle and final pages.
  3. Check direct later-page entry, next/previous navigation and article destinations.
  4. Repeat with keyboard, a narrow viewport and zoom; keep focus visible and controls usable.
  5. Exercise a harmless simulated request failure in staging, then retry without duplicate or missing cards.
  6. Test Back, refresh, filter changes and two lists on the same page if applicable.
  7. Inspect public response status, canonical and links as separate technical evidence.

The Network reference helps identify which batch request failed and what it returned. Use the separate JavaScript diagnostic guide for a script failure rather than guessing from the spinner.

Accept the interaction when later articles remain reachable, selections survive correctly and loading failures have a recoverable path. A visually smooth animation or a successful first batch does not demonstrate the complete archive journey.