Timeline for Advanced custom field - gallery - display one random image
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 17, 2013 at 1:39 | vote | accept | kay | ||
May 17, 2013 at 1:20 | vote | accept | kay | ||
May 17, 2013 at 1:39 | |||||
May 17, 2013 at 1:20 | comment | added | kay | And your answer is working perfectly. Thank you very much. | |
May 16, 2013 at 20:01 | comment | added | Richard B | I've updated my answer. | |
May 16, 2013 at 20:00 | history | edited | Richard B | CC BY-SA 3.0 |
added 401 characters in body
|
May 16, 2013 at 16:25 | comment | added | kay |
var_dump($rand); outputs : int(n) where n is a number outputted randomly at each page refresh.
|
|
May 16, 2013 at 15:54 | comment | added | kay |
To see The var_dump($gallery); output: pastebin.com/a6xFypQQ
|
|
May 16, 2013 at 13:24 | comment | added | Richard B |
If you dump $gallery like this var_dump($gallery); – what does it output?
|
|
May 16, 2013 at 8:39 | comment | added | kay | Thanks for your response but it outputs the same thing. I've a clue here: stackoverflow.com/questions/13635787/… but I don't really get it. I'm no good with php. | |
May 16, 2013 at 6:14 | history | answered | Richard B | CC BY-SA 3.0 |