Skip Navigation

[Resolved] Random order in view not working

This thread is resolved. Here is a description of the problem and solution.

Problem:
Random order in view not working

Solution:
The user was using the WP Engine hosting and WP Engine hosting disable the random order by default.

Can you please enable the "Allow Order By Rand" setting from WP Engine settings and check if that help you to resolve your issue.

Please check the following screenshot:
https://toolset.com/wp-content/uploads/2014/04/210593-rand.JPG

Relevant Documentation:

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by charlesR-4 4 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#1801041
related films view.jpg

I have a view that should create a random list of posts with one of the same categories as the post page where it is displayed. I have used this view for a while and it worked before, but recently I noticed it is not displaying a random order-- it is displaying only in alphabetical order based on the first category of the post page.

You can see it on our development site, at the very bottom of the page:
hidden link
hidden link

I have disabled every plugin on this dev site except for Toolset Types and Toolset Views, so it is not from a plugin conflict. I have attached a screenshot of the view I'm using.

#1801481

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I see you are using the WP Engine hosting and WP Engine hosting disable the random order by default.

Can you please enable the "Allow Order By Rand" setting from WP Engine settings and check if that help you to resolve your issue.

Please check the following screenshot:
https://toolset.com/wp-content/uploads/2014/04/210593-rand.JPG

#1801945

Fantastic. That did it. Thank you!

#1801947

My issue is resolved now. Thank you!