Advanced Pagination Settings

The basic version of TablePress offers a helpful pagination feature. When this is enabled, the visitor can easier navigate in long tables with many rows. They will only see a few rows at a time and can then go to the next set of rows on the next table page, with arrow and number buttons.

Feature description

For many sites, a different type of paging controls might be more suitable. The “Advanced Pagination Settings” features offers that. Below, you can find different possibilities. Note the highlighted paging controls for each example table:

The “Advanced Pagination Settings” allow turning on “First” page and “Last” page buttons, so that the visitor can reach the start or end of a table quickly. See this example:

NameYearCountrySportTimeRateFee
Eric1986SwedenSoccer05:2540.4%$7.14
Julia1991GermanyBasketball04:4520.3%$2.90
Adam2002IndonesiaGolf19:4043.3%$4.40

It is also possible to replace the number buttons with an input field, which even supports the up and down keys on the keyboard, like in this example table:

NameYearCountrySportTimeRateFee
Eric1986SwedenSoccer05:2540.4%$7.14
Julia1991GermanyBasketball04:4520.3%$2.90
Adam2002IndonesiaGolf19:4043.3%$4.40

And for tables that take up more vertical space than the height of the screen, the “Scroll To Top” feature comes in handy: With this, when a site visitor uses the pagination controls, usually below the table, they will automatically be scrolled up to the top of the table. To try this, scroll down and use the pagination controls in this example table:

NameYearCountrySportTimeRateFee
Eric1986SwedenSoccer05:2540.4%$7.14
Julia1991GermanyBasketball04:4520.3%$2.90
Adam2002IndonesiaGolf19:4043.3%$4.40
Kim1986ChileBadminton12:5085.7%$3.47
Jackson1998AustraliaBaseball06:0966.7%$6.85
Cade1986IndiaBadminton19:4342.4%$3.22
Keaton2003Costa RicaBasketball10:3140.0%$5.88
Ray1999FranceGymnastics18:0859.5%$1.10
Omar1984BrazilTennis02:5054.2%$2.30
Maite1986NorwayWrestling15:0929.5%$3.91
Jeremy1987United StatesFencing16:3681.4%$8.26
Libby1989AustriaSwimming21:1933.8%$4.71
Kermit1994UkraineVolleyball12:3963.6%$8.54
Madison1988United StatesBoxing13:3726.7%$7.09
Francis1993ChileVolleyball21:0287.5%$6.29

Usage instructions

To use these features with your tables, activate the “Advanced Pagination Settings” feature module on the “Modules” screen of TablePress Pro or TablePress Max. Then, configure the desired options in the “Advanced Pagination Settings” section on the table’s “Edit” screen.

Configuration parameters

To configure this module’s features, you can also use these configuration parameters in the “TablePress Table” block, the Elementor widget, or in the Shortcode that you are using to embed the table:

ModuleSlugConfiguration parameterNameDescriptionTypeDefault value
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_firstlastPagination First/Last ButtonsTurns on “First” and “Last” buttons (« and »).boolean (true or false)false
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_previousnextPagination Previous/Next ButtonsTurns on “Previous” and “Next” buttons (‹ and ›).boolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_numbersPagination Page NumbersTurns on Page Number buttons.boolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_inputPagination Page Input FieldAdds an input field to jump to a specific page.boolean (true or false)false
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_input_pageofPagination “page of” textAdds a “page of” text “/N” after the input.boolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_buttonsPagination number of buttonsThe number of buttons to show in the pagination.integer7
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_boundarynumbersPagination boundary buttonsWhether to always show the first and last number buttons.boolean (true or false)true
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_loadmore_buttonPagination “Show More” buttonWhether to show a “Show More” button that loads more rows instead of classical pagination.boolean (true or false)false
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_scrolltotopPagination Scroll to TopWhether to scroll to the top of the table when the visitor goes to a different table page.boolean (true or false)false
Advanced Pagination Settingsdatatables-paginationdatatables_pagination_scrolltotop_offsetPagination Scroll to Top offsetThe offset in pixels that defines the scroll position.integer10