• Resolved alampsos

    (@alampsos)


    Hi,

    The Basic Gallery widget installed on my client’s website no longer randomly shuffles images as per the Order by (Random) setting in the Content tab of the widget.

    Both WordPress and Elementor are up-to-date. The page concerned is excluded from my caching plugin. Tried purging the cache anyway and that did not help.

    Any idea what could be causing this?

    Thanks,

    Anesti

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support vipul78

    (@vipulelementor)

    Hi @alampsos

    Can you please confirm if the ORDER_BY_RAND() SQL query is not restricted from the server side?

    In some web hostings this can be restricted thus the random order may not work.

    Thread Starter alampsos

    (@alampsos)

    Hi @vipulelementor,

    I ran the following SQL query a few times in my database (posts) table:

    SELECT ID, post_title
    FROM wp_posts
    ORDER BY RAND()
    LIMIT 5;

    and it returned different post results every time I ran it. So the query is allowed on the server.

    I suspect that an update to the Elementor plugin might have caused this issue. Can you confirm that the Order by > Random function of the Basic Gallery works in the latest version of Elementor (3.32.2)? It is supposed to shuffle the images every time the published page is loaded.

    Thanks,

    Anesti

    Plugin Support Milos

    (@miloss84)

    Hi there,

    I was able to reproduce the same behavior on my test site and have forwarded this to our developers for further inspection.

    As a workaround, please try rolling back to version 3.32.1.

    Once I receive feedback from the developers, I’ll share their response with you. Thank you for your understanding and for pointing us toward this issue.

    Kind regards,

    Thread Starter alampsos

    (@alampsos)

    Thank you for following up on this, Milos.

    I’ll await your update from the Elementor developers.

    Best regards,

    Anesti

    Plugin Support Milos

    (@miloss84)

    Hi there,

    I appreciate your patience,

    After deep troubleshooting, this happened due to the Elementor caching feature.

    Please deactivate it by going to Elementor> Settings > Performance and setting it to disabled.

    Video – https://www.loom.com/share/d70b7c63094a4b6b8b849be7393d70a2

    Hope thsi will help you.

    Kind regards,

    Thread Starter alampsos

    (@alampsos)

    Hi @miloss84,

    Thank you for your support on this issue! It was indeed the Elementor caching feature that was causing the Basic Gallery not to randomize images.

    I have disabled it and excluded the ‘Contact Us’ page from being cached by our caching plugin. Now the gallery randomly displays images again.

    Thanks again and regards,

    Anesti

    P.S. the video you shared only shows a black screen throughout. I didn’t need it but I thought I’d let you know.

    Plugin Support Milos

    (@miloss84)

    Hi there,

    Glad to hear that it’s all working properly for you

    If you run into any other issues, don’t hesitate to open a new topic.

    Our support team will be more than happy to help.

    Best regards

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

The topic ‘Basic Gallery no longer randomizes images’ is closed to new replies.