Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Yes, just add another parameter to the Shortcode on that page:

    [table id=2 filter=... datatables_paginate=false /]
    

    (Turning pagination off on that page should actually make more sense than setting it to 11. You could also do that, with the parameter datatables_paginate_entries=11.)

    Regards,
    Tobias

    Thread Starter vader7071

    (@vader7071)

    Oh perfect. Thanks. So under table settings, ignore the paginate portion there, and just use this shortcode in its place.

    Thread Starter vader7071

    (@vader7071)

    That was perfect. My main page (with all entries) paginates to 10 (I used datatables_paginate_entries=10 ) and all of my decades paginate to 11 (I used datatables_paginate_entries=11 ). Exactly what I want. Thank you.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    good to hear that this helped! Instead of datatables_paginate_entries=11, I would recommend datatables_paginate=false on that page, to be honest. Because now, you are offering “Previous” and “Next” buttons (and a dropdown) that are not useful. But of course this is personal preference!

    Best wishes,
    Tobias

    Thread Starter vader7071

    (@vader7071)

    Oh, even better. I’ll make that change. Thank you!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    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 here in the plugin directory. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Pagination for a table’ is closed to new replies.