Title: How does limit functionality work ?
Last modified: August 21, 2016

---

# How does limit functionality work ?

 *  [tmflads](https://wordpress.org/support/users/tmflads/)
 * (@tmflads)
 * [12 years ago](https://wordpress.org/support/topic/how-does-limit-functionality-work/)
 * Hi,
 * I have a table set up for my clubs fixtures and in the sidebar I only want to
   display the next 5 fixtures from today. When I add the following code
 * `[wctable id="3" limit="5" filter="Date>='time()'"]`
 * it displays all fixtures but paginated in rows of 5.
 * How do I get it to work like a sql statement where it will limit the returned
   rows to 5 ?
 * thanks
 * [https://wordpress.org/plugins/custom-tables/](https://wordpress.org/plugins/custom-tables/)

The topic ‘How does limit functionality work ?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-tables.svg)
 * [custom tables](https://wordpress.org/plugins/custom-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-tables/reviews/)

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)

 * 0 replies
 * 1 participant
 * Last reply from: [tmflads](https://wordpress.org/support/users/tmflads/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/how-does-limit-functionality-work/)
 * Status: not resolved