Changeset 2466474
- Timestamp:
- 02/01/2021 02:34:21 PM (5 years ago)
- Location:
- random-gallery/trunk
- Files:
-
- 2 edited
-
random-gallery.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
random-gallery/trunk/random-gallery.php
r2385020 r2466474 5 5 Plugin Name: Random Gallery 6 6 7 Description: Display a random selection of photos from an arbitrarily large list.7 Description: Random Gallery displays a different subset of your photos every time your page is refreshed. 8 8 9 9 License: GPLv2 or later 10 10 11 Author: David G reenwold11 Author: David G 12 12 13 Author URI: https://www.greenwold.com/ 13 Author URI: https://www.greenwold.com/greenwwwold 14 14 15 Version: 00.0 415 Version: 00.05 16 16 17 17 */ -
random-gallery/trunk/readme.txt
r2385020 r2466474 1 1 === Random Gallery === 2 Contributors: David G reenwold3 Donate link: https://www.greenwold.com/ 2 Contributors: David G 3 Donate link: https://www.greenwold.com/greenwwwold 4 4 Tags: gallery, random, list, subset, media, pictures, photos 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 5.17 Stable tag: 00.0 46 Tested up to: 5.6 7 Stable tag: 00.05 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Random Gallery lets you displaya different subset of your photos every time your page is refreshed.11 Random Gallery displays a different subset of your photos every time your page is refreshed. 12 12 13 13 == Description == … … 21 21 `[random-gallery ids='101,102,103,104,105' shownum='3' columns='1' size='medium']` 22 22 23 You can put shortcodes in all kinds of blocks, but it's probablybest to use the shortcode widget.23 You can put shortcodes in all kinds of blocks, but it's best to use the shortcode widget. 24 24 25 25 = The Details = … … 36 36 - repeat this process for each photo you want to include 37 37 38 The only parameters Random Gallery needs are `ids` and `shownum`. But it can also handle all of the normal Gallery parameters: `type`, `columns`, `size`, and `link`. You can see a couple of them in the example shortcode above. 38 There are also plugins that allow you to see these numbers directly in the Media Library. Try searching the plugins directory for "reveal ids". 39 40 The only parameters Random Gallery needs are `ids` and `shownum`. But it can also handle the ordinary Gallery shortcode parameters `type`, `columns`, `size`, and `link`. You can see a couple of them in the example shortcode above. 39 41 40 42 == Curly Quotes Issue == 41 43 42 One tricky thing to watch out for is curly quotation marks. WordPress (and lots of other software) likes to replace straight quotes (`'`) with curly quotes ('). This is usually a good thing, but it confuses Random Gallery.44 One tricky thing to watch out for is curly quotation marks. WordPress likes to replace straight quotes (`'`) with curly quotes ('). This is usually a good thing, but Random Gallery can only handle straight quotes. 43 45 44 The 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.46 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. 45 47 46 48 == Thanks == … … 71 73 == Changelog == 72 74 75 = 00.05 = 76 77 No change to the code. Just updated the readme and testing. 78 73 79 = 00.04 = 74 80
Note: See TracChangeset
for help on using the changeset viewer.