WordPress.org

Support

Support » Plugins and Hacks » Easy Image Gallery » [Resolved] Random gallery or random image

[Resolved] Random gallery or random image

Viewing 1 replies (of 1 total)
  • Not out of the box but it would be possible to build yourself. To display a random gallery you’ll need to modify the easy_image_gallery() function a bit. Find all posts with galleries, store their ids in array and use shuffle() or rand() to mix it up. To display a single image you’ll also need to modify the function to pass in an image ID or similar.

    Have a look inside the function I mentioned to see how it’s built

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Random gallery or random image’ is closed to new replies.
Skip to toolbar