Title: Different pagination length through shortcode
Last modified: September 1, 2016

---

# Different pagination length through shortcode

 *  Resolved [Anders Mortensen](https://wordpress.org/support/users/andersmortensen/)
 * (@andersmortensen)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/different-pagination-length-through-shortcode/)
 * Hello,
 * Is it possible to set a new pagination length via the shortcode? I’d like to 
   include the same table on two different pages, but one page should show the complete
   list while another page should show 5 rows for instance.
 * Great plugin so far!
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/different-pagination-length-through-shortcode/#post-7714419)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Yes, you could use the `datatables_paginate` parameter to turn off pagination
   or you could use the `datatables_paginate_entries` to set a number, like
 *     ```
       [table id=123 datatables_paginate=true datatables_paginate_entries=5 /]
       ```
   
 * Please see [https://tablepress.org/faq/documentation-shortcode-table/](https://tablepress.org/faq/documentation-shortcode-table/)
   from some more parameters.
 * Regards,
    Tobias
 *  Thread Starter [Anders Mortensen](https://wordpress.org/support/users/andersmortensen/)
 * (@andersmortensen)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/different-pagination-length-through-shortcode/#post-7714423)
 * Hi Tobias,
 * Thank you so much for your speedy response! I checked the Documentation beforehand
   posting this, but didn’t find datatables_paginate_entries mentioned anywhere,
   but might just be me not looking correctly.
 * The shortcode you provided works perfectly, thank you very much!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/different-pagination-length-through-shortcode/#post-7714426)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Different pagination length through shortcode’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/different-pagination-length-through-shortcode/#post-7714426)
 * Status: resolved