0

i want to get the 5 images of a one post gallery and show this random,

example : [gallery id="123" orderby="rand" {numberpost=1 } or offset ? ]

[gallery] codex

tanks for help me.

1
  • i think to get parametric include id of images with offset , any idea ?
    – Behnam
    Commented Aug 24, 2012 at 19:45

1 Answer 1

0

Try installing the following plugin:

http://wordpress.org/extend/plugins/gallery-extended/

You'll be able to set how many images to show via this code:

[gallery link=file start=1 end=5]

Hope this helps!

3
  • yes this is work , tanks
    – Behnam
    Commented Aug 26, 2012 at 16:21
  • but this is show 5 image , i need to show 1 image by random order . you get it ?
    – Behnam
    Commented Aug 26, 2012 at 16:25
  • finally i found it ! [gallery link=file start=0 end=0 sortby="rand"]
    – Behnam
    Commented Aug 28, 2012 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.