Orderby => Rand
-
In our template we display random posts / posttypes in different areas of the website.
We made a custom query and use ‘orderby’ => ‘rand’ for the elements to display randomly.However, when the W3 Total Cache plugin is enabled, it only randomizes the posts on first load.
When purging al caches, it rebuilds to a new one, after that, the same post will be repeated untill the cache is purged again.Since we use this functionality in the footer of our page (displaying employees and quotes) we are not able to “exclude” just one page.
How can we get ‘orderby’ => ‘rand’ to work in combination with the W3 Total Cache plugin?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Orderby => Rand’ is closed to new replies.