Search Divi Blog Extras Documentation

Search for answers or browse our knowledge base.

Table of Contents
< All Topics
Print

Why is the “Random” order type not recommended for pagination?

Pagination might not work properly with the “Random” order type because of the way the “Random” ordering is implemented. When you use the “Random” order, the database fetches the results randomly, and each time the page is reloaded or the pagination is clicked, the database generates a new random order.

As a result, when you navigate to the next page using pagination, the database generates a new random order, which can lead to the same content being repeated or missing altogether. This behavior is caused by the randomization process and is not conducive to proper pagination.

To ensure consistent and accurate pagination, it is recommended to use other stable order types, such as “Date” or “Title,” which provide more predictable and consistent results.