Listing Randomization in Listings Block

Hi there,

I have a listing block with two specific items that I want to display on the main page. I’d like them to alternate randomly, but every time I visit the page, I see the same listing and never the second one. I’ve tested this across different browsers with no change.

I understand that timing might play a role, so I’m trying to better understand how the randomization works. I know it functions as expected with multiple listings, but with just two, I don’t see any alternation.

Could you clarify whether the randomization happens on the server or client side? Is there a way to force it to choose the other listing? Also, with only two listings, does it always alternate between them, or is there a chance the same one might be selected consecutively?

I’d appreciate any insight into how the algorithm works.

Thanks!

Thanks

Hi,

If you have specified a random order for the Listings block in the page settings, it should be random. However, please note that this may not work in two cases:

  1. In the Listings block settings, only such criteria are specified that only one listing fits. Please check the Listing block settings in WordPress Pages > Home page.

  2. Caching content, then the same listings will be displayed until the cache is updated. Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users.

​I hope this is helpful to you

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.