• Resolved stevie79

    (@stevie79)


    This doesn’t work on my table:

    `[table id=123 row_order=random /]

    The table is always shown in the order that I added the rows. So I must be doing something wrong.

    How can I make it so that the table displays the rows in random order when someone visits the page?

    PS. The id= above is changed to the table I’m working with, so it’s not an error typing the shortcode.

    • This topic was modified 5 years ago by stevie79.
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.

    For this to work, you will need the TablePress Table Row Order Extension from https://tablepress.org/extensions/table-row-order/ . Is that installed and activated as a plugin on your site?

    Regards,
    Tobias

    Thread Starter stevie79

    (@stevie79)

    Ah. No it’s not installed.

    Can 2 codes be added into 1?

    As I have: [table id=1 responsive=”collapse” /]

    Can the shortcodes be integrated into 1 so that it’s both responsive AND random?

    • This reply was modified 5 years ago by stevie79.
    • This reply was modified 5 years ago by stevie79.
    • This reply was modified 5 years ago by stevie79.
    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    yes, just combine them like this:

    [table id=1 responsive="collapse" row_order="random" /]
    

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to randomize the table rows?’ is closed to new replies.