Pagination refers to the process of assigning multiple pages to website content.
It is an important thing to consider when building a website, especially if you are fetching dynamic data from a database.
When you output a List Layout it will fetch results based on the parameters you've given it.
The parameter per_page
will decide how many items will initially display in the List. By default, this value will be 20.
If more results were fetched than the per_page
value, Pagination controls will be added to allow the User to change page and view the rest of the data.
Set the parameter show_pagination: 'false'
to remove pagination controls.
Firstly remove the default Pagination controls, as above. Secondly, add the following Liquid where you'd like the controls to sit within your HTML structure: <div data-gb-custom-block data-tag="-" data-0='modules/siteglide_system/get/get_pagination'></div>
Layouts for Pagination should be stored in Code Editor at the following path: layouts/pagination/my_pagination_layout_name.liquid