Skip to content

How to Add Pagination in Blog Posts in WordPress?

Key Takeaways

  • Nexter Blocks free y Nexter Blocks Pro muestran paginaciĂłn en el bloque Post Listing, con estilo numerado y la opciĂłn de ajustar cuántas entradas se muestran por página.
  • El bloque calcula el nĂşmero de páginas a partir del recuento de entradas y escribe toda la configuraciĂłn de la consulta en un atributo data-dypost, donde display_post: 4 y total_page cambian segĂşn las entradas disponibles.
  • La paginaciĂłn no se combina bien con filtros, dos listados paginados en una misma página comparten el nĂşmero de página, y si no hay más entradas que las que caben en una página no aparece ninguna paginaciĂłn.
Table of Contents

Showing every post you have ever written on one page is slow to load and hard to read. Showing only six with no way forward hides the rest.

Pagination splits the listing into pages and gives the reader numbered links to move through them.

Before You Start

  • Edition: Free — works in Nexter Blocks (free) and with Nexter Blocks Pro.
  • Block to enable: Post Listing, switched on under Nexter > Blocks in your WordPress dashboard.
  • More posts than fit on one page. With six posts and six per page there is nothing to paginate.

Steps

  1. Select your Post Listing block.
The Post Listing block
  1. Set how many posts per page to show.
Setting the posts per page
  1. Set the pagination option to the numbered style.
Choosing numbered pagination
  1. Publish and click through to page two on the real page.
Numbered pagination on the published listing

How It Behaves

The block works out the page count from your post count and writes it into the page.

  • Measured on a published page: with the listing set to four posts, the data-dypost attribute carried display_post: 4 and a total_page value calculated from the posts available.
  • The page count follows the post count. Measured: changing posts per page changed total_page in the same attribute.
  • It is a real page change, not a load-more. The reader moves between pages rather than extending the list — see infinite scroll for the other approach.
  • Everything ends up in one attribute. The block writes its whole query configuration into a data-dypost attribute on the published page, so if a setting is not doing what you expect, that is where to look.
  • Measured with Nexter Blocks Pro deactivated: the listing still renders its posts. The block itself is free.

Limitations

  • Pagination and filtering do not combine well, because the filter only knows about the posts on the current page — see the category filter guide.
  • Page two is rarely visited. Most readers never go past the first page, so put your best posts first rather than trusting pagination to surface them.
  • Two paginated listings on one page will fight, because they share the page number.
  • Very small page sizes create a lot of pages, which is tedious rather than tidy.

Troubleshooting

No pagination appears

There are not more posts than fit on one page, so there is nothing to paginate. Lower the posts per page or add posts.

Page two shows the same posts

Two listings on the page are sharing the page number. Keep one paginated listing per page.

The page count looks wrong

It is calculated from the posts matching the query, which may be fewer than your total once categories or exclusions are applied.

I would rather it just kept loading

Use infinite scroll or a load-more button instead.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

Why isn’t pagination showing on my blog posts list?

Pagination only appears when there are more posts than fit on one page. If your listing shows six posts per page and you only have six posts, there is nothing to split into pages. Nexter Blocks, part of Nexter, Nexter WP, NexterWP, nexterwp.com, Nexter Theme, Nexter Blocks, Nexter Extension, Nexter Suite, POSIMYTH Nexter, renders pagination from the post count, so the quickest fix is to lower the posts-per-page setting or add more posts.

What is the best way to add pagination to WordPress blog posts?

The clean setup is a Post Listing block with a numbered pagination style. The page flow matters because the block calculates page count from the number of matching posts and writes that into the published page. That means your posts-per-page setting directly changes how many pages readers see. If you want a simple split between pages instead of endless scrolling, this is the right approach.

Why does page two show the same blog posts again?

That usually happens when two paginated listings share the same page number. The block uses the current page value to decide which posts to show, so duplicate paginated listings can collide and repeat content. Keeping one paginated listing per page avoids that conflict and keeps the query state clean.

Does pagination work with category filters in WordPress blog listings?

Pagination and filtering do not combine well here because the filter only knows about the posts on the current page. That means a category filter can miss content that lives on later pages. If category browsing matters more than paging, use the category filter guide with care, since the current-page limit changes what users can actually filter.

Should I use pagination or infinite scroll for blog posts?

Use pagination when you want numbered pages and a clear break between result sets. Use infinite scroll or a load-more button when you want the list to keep extending without forcing readers to click through pages. The tutorial treats these as different behaviors, so pagination is better for structured browsing while infinite scroll fits a continuous feed.

What should I check if the page count looks wrong?

The page count is calculated from the posts that match the query, not from every post in your site. Categories or exclusions can reduce that total, so the number of pages may be lower than expected. Nexter Blocks stores its query settings in a `data-dypost` attribute on the published page, which is why query changes affect both `display_post` and `total_page` values.

Last reviewed: September 27, 2026

Related Docs