Title: effect=&quot;random&quot; doesn&#039;t work (gallery)
Last modified: August 22, 2016

---

# effect="random" doesn't work (gallery)

 *  [tizzastre](https://wordpress.org/support/users/tizzastre/)
 * (@tizzastre)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/effectrandom-doesnt-work-gallery/)
 * Hi,
    I wanted to randomize my photo gallery and I found somewhere, that I needed
   to add to my code this line -> effect=”random”. Unfortunately it doesn’t work.
   The order I have is by ID numbers. It doesn’t change even when I change the order
   manually in my shortcode.
 * Thank you for your help.
 * I’m on wp4.0 and su4.9.2
 * here’s my code:
    `[su_custom_gallery source="media: 1353,1354,1355,1356,1357,1358,1359,1360,1361"
   limit="20" link="custom" target="blank" width="106" height="106" effect="random"]`
 * [https://wordpress.org/plugins/shortcodes-ultimate/](https://wordpress.org/plugins/shortcodes-ultimate/)

The topic ‘effect="random" doesn't work (gallery)’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [WP Shortcodes Plugin — Shortcodes Ultimate](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)

 * 0 replies
 * 1 participant
 * Last reply from: [tizzastre](https://wordpress.org/support/users/tizzastre/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/effectrandom-doesnt-work-gallery/)
 * Status: not resolved