• Resolved whcc

    (@whcc)


    I have a “running” table that I only want the last 4 rows added to show on the page. I prefer not to delete the prior rows so I have a history when needed. Is there a shortcode to do that automatically rather than manually hiding the earlier rows?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    From the top of my head, I can only think of a solution for this for the first four rows. So, could you maybe change your workflow so that new rows are added at the top and the older ones move down?
    If so, the Shortcode

    [table id=2 hide_rows=all show_rows=1-5 /]
    

    would show only the first four rows (plus the table head row) of the table.

    Regards,
    Tobias

    Thread Starter whcc

    (@whcc)

    That will work just fine and I won’t have to keep hiding the rows I don’t want to show. Thank you for your help.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

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

The topic ‘show only last 4 rows’ is closed to new replies.