[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fl-f7SOQLGzYNZ_62vsbxU9qyO0ixK3otQ3fzwl7TXV4":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"david-greenwold","David G","https:\u002F\u002Fprofiles.wordpress.org\u002Fdavid-greenwold\u002F",1,200,85,30,84,"2026-05-20T09:09:02.928Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":22,"last_updated":23,"tested_up_to":24,"requires_at_least":25,"requires_php":26,"tags":27,"homepage":26,"download_link":33,"security_score":9,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"random-gallery","Random Gallery","00.08","\u003Cp>Random Gallery lets you display a different subset of your images every time your page is refreshed. Just tell it which ones you want it to pick from and how many you want to show at a time.\u003C\u002Fp>\n\u003Ch4>The Basics\u003C\u002Fh4>\n\u003Cp>Random Gallery works with an old fashioned shortcode. You specify the pool of images with the \u003Ccode>ids\u003C\u002Fcode> or \u003Ccode>category\u003C\u002Fcode> parameter. Then you specify how many you want to show with the \u003Ccode>shownum\u003C\u002Fcode> parameter.\u003C\u002Fp>\n\u003Cp>Here’s an example of the \u003Ccode>ids\u003C\u002Fcode> method:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>[random-gallery ids='101,102,103,104,105' shownum='3']\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Note there are five images in the list but only three will be shown at a time.\u003C\u002Fp>\n\u003Cp>And here is an example of the \u003Ccode>category\u003C\u002Fcode> method:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>[random-gallery category='myCategory' shownum='3']\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Random Gallery can handle the ordinary Gallery shortcode parameters \u003Ccode>columns\u003C\u002Fcode>, \u003Ccode>size\u003C\u002Fcode>, and \u003Ccode>link\u003C\u002Fcode>:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>[random-gallery category='myCategory' shownum='3' columns='1' size='medium' link='none']\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>You can put shortcodes in all kinds of blocks, but it’s best to use the shortcode widget.\u003C\u002Fp>\n\u003Ch4>ids method details\u003C\u002Fh4>\n\u003Cp>The \u003Ccode>ids\u003C\u002Fcode> parameter is the list of images you want to draw from. To build up the list, you need the numbers that WordPress assigns to each of your images.\u003C\u002Fp>\n\u003Cp>There are plugins that let you see these numbers directly in the Media Library. Try searching the plugins directory for “reveal ids”.\u003C\u002Fp>\n\u003Cp>Otherwise, you can find them manually:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>open up your Media Library\u003C\u002Fli>\n\u003Cli>click on a photo\u003C\u002Fli>\n\u003Cli>the Attachment Details will pop up\u003C\u002Fli>\n\u003Cli>the URL in your address bar will look like this: \u003Ccode>https:\u002F\u002Fwww.example.com\u002Fwp-admin\u002Fupload.php?item=101\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>take the number at the end of the URL (in this case 101) and add that number to \u003Ccode>ids\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>repeat this process for each photo you want to include\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>category method\u003C\u002Fh4>\n\u003Cp>By default, categories are not available in the Media Library. However, there are plugins that will enable them. Try searching the plugins directory for “media library categories”.\u003C\u002Fp>\n\u003Cp>Once you have categories enabled, you can create a category, add images to it, and specify it in the shortcode by name.\u003C\u002Fp>\n\u003Ch3>Curly Quotes Issue\u003C\u002Fh3>\n\u003Cp>One tricky thing to watch out for is curly quotation marks. WordPress likes to replace straight quotes (\u003Ccode>'\u003C\u002Fcode>) with curly quotes (‘). This is usually a good thing, but Random Gallery can only handle straight quotes.\u003C\u002Fp>\n\u003Cp>The easiest and best way to make sure you’re only using straight quotes is to put your shortcode in a shortcode widget, then re-type all the quotes directly in the widget.\u003C\u002Fp>\n\u003Ch3>Thanks\u003C\u002Fh3>\n\u003Cp>I hope Random Gallery works for you. If you have any trouble, just shoot me an email. Thanks!\u003C\u002Fp>\n","Random Gallery displays a different subset of your images every time your page is refreshed.",6680,90,11,"2023-04-02T17:20:00.000Z","6.2.9","3.0.1","",[28,29,30,31,32],"category","gallery","images","random","subset","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Frandom-gallery.zip",0,null,"2026-04-16T10:56:18.058Z"]