• Resolved ploupoz

    (@ploupoz)


    Hi,
    Thank you for this simple and efficient plugin. Waiting for the new fonction using infinite scroll instead of page numbers. I need to display more than 100 rows on a page.
    The Shortcode “[stafflist on=”type” rows=x]” doesn’t work for any number of x greater than 100.
    Is there a way to display more than 100 rows ? Even if I know, the modification will be cleared each time I update the plugin, Is there a file I can easily change to do so ?
    Thanks,
    Ga?l

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ERA404

    (@era404)

    Hello @ploupoz,

    Please have a look at the code. You’ll see around line 551:

    //if $_POST['rows'] use that instead of default RECORDS_PER_PAGE;
    if(isset($_POST['rows']) && is_numeric($_POST['rows']) && $_POST['rows'] > 0 && $_POST['rows'] <= 100) $rows = $_POST['rows'];

    If you change the maximum records to something higher than 100, you may experience race hazards if you have it set to search on “type” versus on “enter”. It is our recommendation that, with higher row counts, you choose “enter” instead:

    [stafflist on="enter"]

    Fondly,

    ERA404

    • This reply was modified 6 years, 3 months ago by ERA404.
    Thread Starter ploupoz

    (@ploupoz)

    Thank you for your quick answer ! It works great even on “type” rather than “enter”.
    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display more than 100 rows’ is closed to new replies.