Divi Gallery Pagination in Divi 5: Numbered Pages, Load More and Infinite Scroll

A simple decision guide to choosing numbered pages, Load More or infinite scroll for your Divi 5 gallery.

Divi 5 gallery pagination options: numbered pages, Load More button and infinite scroll

For Divi gallery pagination on most sites, a Load More button is the safest choice: it keeps the first load light and your footer reachable. Use numbered pages for large archives where people look for a specific item, and infinite scroll when the gallery is the whole page.

Divi's own Gallery module offers numbered pagination. The other two types need a gallery module that supports them, and this guide uses HappyDivi Gallery. Start with the chart, then read about your pick.

Decision chart for choosing numbered pages, Load More or infinite scroll for a Divi gallery

Answer the first question that applies.

Three Divi galleries side by side using numbered pagination, a Load More button and infinite scroll

The same photos with each pagination type.

Select your HappyDivi Gallery module. Pagination works with every source: Media Library, posts, custom post types, ACF fields and WooCommerce products. Under Pagination:

  1. Turn on Enable Pagination.
  2. Choose a Pagination Type.
  3. Set Images Per Page. Start with 12.
Pagination settings with Load More Button type, Images Per Page and button text beside a gallery with a Show More Photos button

Here it is with a Load More button.

Numbered Pages: Best for Large Archives

Page numbers sit under the gallery, and you can change the Previous Label and Next Label.

  • Your gallery holds about 100 or more items.
  • People want to jump ahead, or come back to a page.
  • The footer and the rest of the page need to stay reachable.

Load More: Best for Portfolios and Shops

Each click adds the next batch below the images already showing, so visitors keep their place. Change Load More Button Text to fit, such as "See More Work" or "More Products".

  • You want visitors to look before choosing to see more.
  • Something important sits below the gallery, such as a contact form or pricing.
  • You sell products and want calm browsing.

Infinite Scroll: Best for Feeds

There is no button. The next batch loads as the visitor nears the end, starting about 300 px early so they rarely see a gap. It pairs well with Masonry.

  • The gallery is the main content, like a blog feed or photo stream.
  • Visitors are browsing for inspiration rather than one item.
  • Little below the gallery matters.

Watch your footer

If your footer holds links people need, such as contact details or legal pages, choose Load More. With infinite scroll, the footer keeps moving away as new images arrive.

Quick Comparison

SituationBest choice
Blog feed or photo streamInfinite Scroll
Agency or creative portfolioLoad More
WooCommerce product galleryLoad More
Archive with 100+ itemsNumbered
Important content below the galleryLoad More or Numbered
Not sureLoad More

How It Works With Filters and Lazy Loading

Filters: when a visitor picks a category, the count updates to that category. In our test, filtering a portfolio to Branding showed "Showing 3 of 3".

Lazy loading: pagination decides how many items are added to the page. Lazy loading decides when each image downloads. Keep both on, except for a gallery at the very top of the page, as our gallery speed guide explains.

Frequently asked questions

Does gallery pagination reload the page?

No. All three types add or swap images in place, without a full page reload.

Which pagination type is best for page speed?

All three keep the first load light, because only one batch appears at the start. A sensible Images Per Page value, around 12, matters more than the type.

Is infinite scroll bad for SEO?

It can be if images only exist after scrolling, since search engines may not load them. If those items must be found through search, also make sure each one has its own linked page or use numbered pages.

Can I change the Load More button text?

Yes. Set any label under Pagination, in Load More Button Text.

Want the full picture? The Complete Divi 5 Gallery Guide covers every source, layout, lightbox, filter and pagination option.

Get the next Divi 5 guide

New guides and plugin news from HappyDivi. Unsubscribe any time.

Rubait Hasan

Written by

Founder & Product Builder

Rubait has been building for Divi since 2017. He founded DiviZoom in 2019, sold it in 2022, and started HappyDivi when Divi 5 rebuilt the builder from the ground up. He writes the code behind HappyDivi's plugins and answers support himself.

More articles by Rubait

Get the next Divi 5 guide

New guides and plugin news from HappyDivi. Unsubscribe any time.