Plugin Directory

Changeset 1730975


Ignore:
Timestamp:
09/16/2017 06:21:21 PM (9 years ago)
Author:
lorenzck
Message:

Update to version 1.5.0

Location:
simple-stupid-shortcode
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • simple-stupid-shortcode/trunk/readme.txt

    r1726455 r1730975  
    44Requires at least: 4.6
    55Tested up to: 4.8.1
    6 Stable tag: 1.4.0
     6Stable tag: trunk
    77License: MIT
    88License URI: https://github.com/LorenzCK/SimpleStupidShortcode/blob/master/LICENSE
    9 Donate link: TBD
    109
    1110The simplest and most flexible way to embed images or generate links in Wordpress. Shortcodes to finally ditch all absolute paths and fixed sizes.
     
    4847The *shortcode* supports the following parameters:
    4948
    50 * `id`: the Wordpress ID of the attachment to include,
    51 * `size`: size of the image to include (can be any standard size such as `thumbnail` or `full`, or any custom image size),
    52 * `alt`: alternate description to include in the `<img>` tag,
    53 * `title`: image title to use in (optional) link,
    54 * `link`: if set to true will also generate a link to the attachment,
    55 * `didascaly`: text to add as a didascaly,
     49* `id`: the Wordpress ID of the attachment to include;
     50* `size`: size of the image to include (can be any standard size such as `thumbnail` or `full`, or any custom image size);
     51* `alt`: alternate description to include in the `<img>` tag;
     52* `title`: image title to use in (optional) link;
     53* `link`: if set to `true`, `1`, `yes`, or an equivalent value, a link to the full-resolution attachment will be generated, otherwise a fully specified target URL can be specified;
     54* `didascaly`: text to add as a didascaly;
    5655* `class`: additional HTML/CSS classes to add to the root element.
    5756
     
    6463These *shortcodes* are “enclosing” (they wrap the content of the link, just like HTML tags) and they support the following parameters:
    6564
    66 * `href`: the ID, *slug*, or *path* of the target post or page,
    67 * `title`: the title to use in the link, if not set the target post’s title will be used,
    68 * `class`: additional HTML/CSS classes to add to the link,
     65* `href`: the ID, *slug*, or *path* of the target post or page;
     66* `title`: the title to use in the link, if not set the target post’s title will be used;
     67* `class`: additional HTML/CSS classes to add to the link;
    6968* `type`: type of the target post (defaults to `page` for `[page]` and `post` for `[link]`).
    7069
     
    7675
    7776== Changelog ==
     77
     78= 1.5 =
     79* Add support for URLs in `link` attributes for [image] shortcodes.
    7880
    7981= 1.4 =
Note: See TracChangeset for help on using the changeset viewer.