How to Limit Number of Rows with Filters in a WordPress Table?

Updated on September 18, 2023 by Editorial Team

Table of Contents

As a WordPress user, you may have encountered the need to limit the number of rows in a table on your website. This could be for various reasons, such as improving page load times, organising data in a more streamlined manner, or simply to make the table easier to navigate. Whatever the reason, limiting the number of rows in a WordPress table is a common task that can seem daunting if you are unfamiliar with the process.

With the Data Table block from The Plus Blocks for Gutenberg you can easily limit the number of visible rows of your table.

To check the complete feature overview documentation of The Plus Blocks for Gutenberg Data Table block, click here.

Requirement  – This block is a part of The Plus Blocks for Gutenberg, make sure its installed & activated to enjoy all its powers.

To do this, add the block on the page, once you’ve added content to your table go to the Extra Settings tab > Filter Dropdown and turn on the toggle.

data table filter dropdown

This will add a dropdown option where users can easily select how many rows or entries of the table they want to see.

data table filter dropdown demo

Now you know how to limit the number of rows in a WordPress table.

Also, check How to Import Data From Google Sheets in WordPress Table.