Plugin Author
David G
(@david-greenwold)
Hi @budruid – Your shortcode looks pretty good, but I updated it below with a few tweaks.
– I removed the spaces around the equals signs and
– I re-typed all of the quotes. You may have to do this again in the WP editor (please refer to the “curly quotes issue” on the plugin homepage).
Hopefully that solves it. If not, please let me know.
[random-gallery ids=’4829, 4830, 4831, 4832, 4833, 4834, 4835, 4836, 4837, 4838, 4839, 4840, 4841, 4842, 4843, 4844, 4845, 4846, 4847, 4848, 4849, 4850, 4851, 4852, 4853, 4854, 4855, 4856, 4857, 4858′ shownum=’4′ columns=’4′ size=’medium’]
-
This reply was modified 4 years, 7 months ago by
David G.
Hi, sorry for the delay. I have tested by copying and pasting your text into the shortcode but it does not show anything.
I had to replace you ′ with ‘ and it was able to display and randomly select the images. However, the column issue still does not seem to work. For your kind advice, please.
Plugin Author
David G
(@david-greenwold)
It’s possible something else on the site is interfering with the columns parameter. Please try a standard gallery shortcode with columns. e.g.
[gallery ids='4829, 4830, 4831, 4832, 4833, 4834, 4835, 4836' columns='4' size='medium']
Good morning,
I have tried and I still get the images in 1 column only.
I had also tested doing the short code on a blank page with no other templates but have the same result at this current time.
Plugin Author
David G
(@david-greenwold)
Random Gallery is just a standard WP Gallery under the hood. If [gallery ... columns='4'] doesn’t work on your site, then [random-gallery … columns=’4′] won’t work either.
The first thing I’d try is temporarily turning off your other plugins one at a time to see if one of them is conflicting with the WP Gallery.