Title: Random always shows the same
Last modified: December 14, 2016

---

# Random always shows the same

 *  [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-always-shows-the-same/)
 * I took the example shortcode and changed the number to two. I have 6 testimonials.
   Whenever the page loads it’s alsways the same two. Is there a way to get it to
   randomly display testimonials?
 * [katb_testimonial group=”all” number=”2″ by=”random” id=”” rotate=”no” layout
   =”0″ schema=”default”]

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-always-shows-the-same/#post-8554082)
 * The widget seems to be the same. I selected Random and show 4, it always shows
   the first 4.
 *  Plugin Author [kevinhaig](https://wordpress.org/support/users/kevinhaig/)
 * (@kevinhaig)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-always-shows-the-same/#post-8558753)
 * It is working on my test bed. Perhaps it is a cache issue. Try testing with your
   cache disabled.
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-always-shows-the-same/#post-8561202)
 * It’s very strange, on a different site I work on it’s working just fine. On this
   one it doesn’t work and I’ve disabled all other plugins and switched to the TwentySixteen
   theme. It is hosted with WP Engine and they do a lot of caching, but I tried 
   it on the staging version too which supposedly has no caching. I’m going to contact
   them, but if you have any ideas please let me know. Thanks for the help.
 *  [Jason Cosper](https://wordpress.org/support/users/boogah/)
 * (@boogah)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-always-shows-the-same/#post-8561231)
 * You may want to make sure that “Allow `ORDER BY RAND()`” is enabled in **WP Engine
   > General Settings**:
 * ![Allow ORDER BY RAND()](https://i0.wp.com/img.boogah.org/x/order-by-rand_1E04812F.
   png)
    -  This reply was modified 9 years, 5 months ago by [Jason Cosper](https://wordpress.org/support/users/boogah/).
 *  Thread Starter [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * (@winterstreet)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/random-always-shows-the-same/#post-8561267)
 * [@boogah](https://wordpress.org/support/users/boogah/) that was the problem thanks.
    -  This reply was modified 9 years, 5 months ago by [winterstreet](https://wordpress.org/support/users/winterstreet/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Random always shows the same’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/testimonial-basics_312d05.svg)
 * [Testimonial Basics](https://wordpress.org/plugins/testimonial-basics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/testimonial-basics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/testimonial-basics/)
 * [Active Topics](https://wordpress.org/support/plugin/testimonial-basics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/testimonial-basics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/testimonial-basics/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [winterstreet](https://wordpress.org/support/users/winterstreet/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/random-always-shows-the-same/#post-8561267)
 * Status: not resolved