Skip to content

Ajax Pagination ​

Show a long testimonials list a batch at a time, with a load-more button or page numbers, without reloading the page.

A grid of testimonials with a Load more reviews button underneath

Got more testimonials than you want on screen at once? The Ajax Pagination block shows them in batches. It's a child block, which means a smaller block that lives inside another one. Each batch loads with AJAX, a way of pulling in new content in the background, so the page never reloads. Visitors click a Load More button or a page number, and the next testimonials appear right where they are.

How to add it ​

Switch on Ajax Pagination in a display block's Layouts panel. The plugin wraps the block in a Testimonial Group and adds the pagination control below it.

You'll only find the toggle on blocks that lay testimonials out as a list or grid:

BlockAjax Pagination
Grid, Bento Grid, Polaroid Grid, Masonry, ListOffered, and on by default
Stacked CardsOffered on the Stacked Cards (fan) layout, off by default
Video TestimonialsOffered on the Grid layout, off by default
Carousel, Slider, Marquee, SpotlightNot offered. These scroll, slide or step through their own items, so there are no pages to split

How the batches add up ​

This part catches people out, so it's worth a minute. The first batch is whatever your display block already shows, which is its Display Limit from the Query Builder. Every batch after that uses the number you set in Items to Show Per Click here.

For example, a Grid with a Display Limit of 6 and Items to Show Per Click of 4 shows 6 testimonials when the page opens, then 4 more each time a visitor clicks Load More. With numbered pages, page 1 holds 6 and every later page holds 4.

This works with every Filter Testimonials option in the Query Builder, even hand-picked Specific testimonials. The first batch shows up to your Display Limit of them, and the button loads the rest.

Settings ​

Select the pagination control and open the Ajax Pagination panel. What you see there depends on the Pagination Type you pick.

Settings — Button (load more) ​

Ajax Pagination panel — Button type

ControlWhat it does
Items to Show Per ClickHow many testimonials each later batch adds (1–50, default 4). See How the batches add up.
Pagination TypeButton (a load-more button, the default) or Number (numbered pages).
Button LabelText on the load-more button. Default Load More.
Ending MessageShown in place of the button once a visitor has loaded the last batch. Default No more testimonial.
AlignmentPlace the control left, center (default) or right.

Settings — Number (numbered pages) ​

Ajax Pagination panel — Number type

Switching Pagination Type to Number swaps the button fields for these:

ControlWhat it does
Number TypeNumber (just the page numbers, the default), Number with Arrow (numbers between arrow buttons), Number with Next & Previous (numbers between arrows labeled Prev and Next) or Previous & Next (only the Prev and Next buttons, no numbers). The Prev and Next labels are fixed. There's no field to change them.
GapSpace between the page buttons. Default 4 px.

Here's the practical difference: numbered pages replace the testimonials on screen, while the load-more button adds each batch below the ones already there.

Style ​

Ajax Pagination panel — Style tab

This is where you make the button or page numbers match your site. Start with Typography, then set Color and Background Color for two states, Normal and Hover. (For the Number type it's called Hover & Active, since it also styles the current page.) Finish with Border, Border Radius, Padding and Margin, which adds 32 px above by default.

Advanced Settings ​

There are two tabs here:

  • Visibility has Hide on Desktop, Hide on Tablet and Hide on Mobile. They work just like the ones in the Carousel reference.
  • Advanced has a Custom CSS Class field you can target from your theme's CSS. (Child blocks don't get a Custom CSS ID field.)

Frontend behavior ​

When a visitor clicks Load More or a page number, the block fetches the next batch and shows it without reloading the page. It also keeps up with any search and filters in the same group. A new search or filter pick jumps back to the first page, so visitors are always paging through the current results.

If every matching testimonial already fits in the first batch, the pagination control hides itself. Visitors won't see a button or page numbers that do nothing. It comes back as soon as a search or filter change brings in more results than the first batch holds.

Tips ​

  • Load More feels natural on a long, casual wall of reviews. Number suits a more structured review archive.
  • Keep the display block's Display Limit fairly small (6 to 9) so the page opens fast, and let the button handle the rest.
  • Swap the default Ending Message for something friendlier, like "You've reached the end. Thanks for reading!"