Plugin Directory

Changeset 2466474


Ignore:
Timestamp:
02/01/2021 02:34:21 PM (5 years ago)
Author:
David Greenwold
Message:

No change to the code. Just updated the readme and testing.

Location:
random-gallery/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • random-gallery/trunk/random-gallery.php

    r2385020 r2466474  
    55Plugin Name: Random Gallery
    66
    7 Description: Display a random selection of photos from an arbitrarily large list.
     7Description: Random Gallery displays a different subset of your photos every time your page is refreshed.
    88
    99License: GPLv2 or later
    1010
    11 Author: David Greenwold
     11Author: David G
    1212
    13 Author URI: https://www.greenwold.com/
     13Author URI: https://www.greenwold.com/greenwwwold
    1414
    15 Version: 00.04
     15Version: 00.05
    1616
    1717*/
  • random-gallery/trunk/readme.txt

    r2385020 r2466474  
    11=== Random Gallery ===
    2 Contributors: David Greenwold
    3 Donate link: https://www.greenwold.com/
     2Contributors: David G
     3Donate link: https://www.greenwold.com/greenwwwold
    44Tags: gallery, random, list, subset, media, pictures, photos
    55Requires at least: 3.0.1
    6 Tested up to: 5.5.1
    7 Stable tag: 00.04
     6Tested up to: 5.6
     7Stable tag: 00.05
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    11 Random Gallery lets you display a different subset of your photos every time your page is refreshed.
     11Random Gallery displays a different subset of your photos every time your page is refreshed.
    1212
    1313== Description ==
     
    2121`[random-gallery ids='101,102,103,104,105' shownum='3' columns='1' size='medium']`
    2222
    23 You can put shortcodes in all kinds of blocks, but it's probably best to use the shortcode widget.
     23You can put shortcodes in all kinds of blocks, but it's best to use the shortcode widget.
    2424
    2525= The Details =
     
    3636- repeat this process for each photo you want to include
    3737
    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.
     38There are also plugins that allow you to see these numbers directly in the Media Library. Try searching the plugins directory for "reveal ids".
     39
     40The 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.
    3941
    4042== Curly Quotes Issue ==
    4143
    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.
     44One 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.
    4345
    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.
     46The 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.
    4547
    4648== Thanks ==
     
    7173== Changelog ==
    7274
     75= 00.05 =
     76
     77No change to the code. Just updated the readme and testing.
     78
    7379= 00.04 =
    7480
Note: See TracChangeset for help on using the changeset viewer.