I have been using the following channel entries tag, thinking it was randomly selecting 2 entries from the channel on each page load, but it appears to be just selecting the first two and just ordering them randomly.

{exp:channel:entries channel="testimonials" dynamic="no" limit="2" orderby="random"}

Can anyone tell me if there is a way to grab a random 2 entries from a channel on each page load?

  • Are you caching the template that your testimonials display in? – Bluedreamer Oct 11 '14 at 13:49
  • Hi. No I'm not. – ccdavies Oct 11 '14 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.