• Resolved UndeadEarth

    (@undeadearth)


    I looked but can’t find anything in the support pages to set the pagination by post.

    For example, I have a table with 120 entries, and show that on its on web page as a directory to all the items reviewed, but on the individual review pages, I want to set the pagination to 25.

    Can I see the pagination on one post to be 100 or 1000? And on other posts make it 25?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes! For that, please try a Shortcode like

    [table id=123 datatables_lengthchange=25 /]
    

    (Yes, this is not documented that well right now, it’s only mentioned briefly on https://tablepress.org/faq/documentation-shortcode-table/. Sorry for that.)

    Regards,
    Tobias

    Thread Starter UndeadEarth

    (@undeadearth)

    Greetings,
    Thank you for looking into this. Is there any other dependency? I used the above string in the shortcode (and changed my table ID to match mine, but it still shows whatever the setting is at the table level).

    Thanks again for your help. Tablepress is an awesome plug in.

    • This reply was modified 5 years, 7 months ago by UndeadEarth.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter UndeadEarth

    (@undeadearth)

    Sure thing, the table I’m trying to change the pagination is:

    https://undead-earth.com/whiskey-dreams

    The shortcode is:
    [table id=18 datatables_lengthchange=100 row_order=sort row_order_sort_column=B row_order_sort_direction=DESC /]

    Best regards,
    matt

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Matt,

    that’s really strange. If possible, I’d like to take a direct look at this on your site. Could you therefore please get in touch via emaill (the address is in the main plugin file “tablepress.php”)? Thanks!

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode For Pagination’ is closed to new replies.