1. Home
  2. Knowledge Base
  3. Posts Table Pro
  4. Posts Table Pro Shortcode Options
  5. Changing the number of posts in the table

Changing the number of posts in the table

In Posts Table Pro, you can choose how many items are listed on each page of the table, and the total number of posts in the table.

Rows per page

The rows_per_page option controls how many rows display on each page of results in the table, e.g. rows_per_page="50". The default is 25 rows. Set this to rows_per_page="-1" to show all records in your table.

Example displaying 10 rows per page: [posts_table rows_per_page="10"]

Post limit

The post_limit option controls the maximum number of posts displayed in your table. Defaults to 500 posts.

Warning: setting too large a limit could have a performance impact on your server. If you are displaying a large number of products, we recommend activating lazy load.

[posts_table post_limit="750"]

Was this article helpful?

Related Articles