Changeset 1730975
- Timestamp:
- 09/16/2017 06:21:21 PM (9 years ago)
- Location:
- simple-stupid-shortcode
- Files:
-
- 5 added
- 1 edited
-
tags/1.5.0 (added)
-
tags/1.5.0/simplestupidshortcode-admin.js (added)
-
tags/1.5.0/simplestupidshortcode.php (added)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/simplestupidshortcode-admin.js (added)
-
trunk/simplestupidshortcode.php (added)
Legend:
- Unmodified
- Added
- Removed
-
simple-stupid-shortcode/trunk/readme.txt
r1726455 r1730975 4 4 Requires at least: 4.6 5 5 Tested up to: 4.8.1 6 Stable tag: 1.4.06 Stable tag: trunk 7 7 License: MIT 8 8 License URI: https://github.com/LorenzCK/SimpleStupidShortcode/blob/master/LICENSE 9 Donate link: TBD10 9 11 10 The simplest and most flexible way to embed images or generate links in Wordpress. Shortcodes to finally ditch all absolute paths and fixed sizes. … … 48 47 The *shortcode* supports the following parameters: 49 48 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; 56 55 * `class`: additional HTML/CSS classes to add to the root element. 57 56 … … 64 63 These *shortcodes* are “enclosing” (they wrap the content of the link, just like HTML tags) and they support the following parameters: 65 64 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; 69 68 * `type`: type of the target post (defaults to `page` for `[page]` and `post` for `[link]`). 70 69 … … 76 75 77 76 == Changelog == 77 78 = 1.5 = 79 * Add support for URLs in `link` attributes for [image] shortcodes. 78 80 79 81 = 1.4 =
Note: See TracChangeset
for help on using the changeset viewer.