Hello. Lately I’ve noticed if I choose RANDOM in the post query order by, it doesn’t work, it just defaults back to published date instead. This is true of several different sites I’m using this plugin on and in several different grids. Can you investigate please? Thanks!
The page I need help with: [log in to see the link]
Hi @azizulraju ok here’s a list of what I’ve done so far to troubleshoot:
Disabled all other plugins
disabled server cache
disabled local cache
disabled caching plugin
Activated default wordpress theme
Removed any custom code or custom css
changed “random” option in query settings to other options (all other options seem to work as expected, but when I switch back to random, it defaults to date order again)
With all these testing variables done in various combinations, no matter which I try, the “random” option still does not work. It only will ever pull the posts in date order when “random” is selected. Any other thoughts?
Please mention the version number of your Post Grid Combo. Also please try to create on post grid for testing purposes by only selecting the random query option and don’t touch other settings.
I’ve copied the site to a dev environment and created a new post grid of the “Services” CPT. The only settings I adjusted was query = random, here is the test link for you:
OK! Solution found! apparently it is an issue with WP Engine hosting, by default they disable the random query… but you can re-enable it… from the wordpress dashboard, go to WP Engine -> Site Settings -> Advanced Configuration -> Random Order, drop that option down and tick the box to allow it. See here reference article from your wonderful email support team: