• Resolved kokoska

    (@kokoska)


    Hello is it possible to show on main only the 4 newest rowes of the table? We want a table with press-releases. On the home we want to show the newest 4 press-releases. On the press-page the whole,but this is not the problem. Is this possible to show the newest 4. Tried a little with hide_rows but did work. Thank you

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Using hide_rows and show_rows should actually work. What exactly did you try?

    Regards,
    Tobias

    • This reply was modified 8 years, 2 months ago by TobiasBg.
    Thread Starter kokoska

    (@kokoska)

    Saw only the “hide_rows 1,2,3″ and show_rows 4,5,6” but not if i can select “new entries.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    well, for this, the new entries would always have to be at the same positions, e.g. at the top of the table. Would that work in your table?

    Regards,
    Tobias

    Thread Starter kokoska

    (@kokoska)

    Thats the problem…so we have to overwrite always the position or we have to change the code with the last 4 row numbers. How would look the code? Thank you

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    the code could be
    [table id=123 hide_rows=all show_rows=1-5 /]

    If you then always insert the new entries at the top, you’d have a short version of the full table.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show newest 4 entries of table, rest hidden’ is closed to new replies.