开发者 | PerS |
---|---|
更新时间 | 2016年12月13日 05:50 |
捐献地址: | 去捐款 |
PHP版本: | 2.8.6 及以上 |
WordPress版本: | 4.7 |
[lorem]
and [loremimage]
, the [loremimage]
shortcode can be nested in the [lorem]
shortcode. The shortcodes generates dummy text and image when needed.
Usage
Add the [lorem]
and/or [loremimage]
shortcode to a post or page, or if the Shortcode UI plugin is installed and activated, in the visual editor, click Add Media->Insert Post Element->Lorem Ipsum
to add the shortcode.
Parameters, all are optional
[lorem]
rel="lightbox[lorem]"
).[lorem p="1" l="20"] [loremimage size="300x300" style="padding:5px;"] [/lorem]
For more information and screenshots, please see the plugin home page
You need to install the Shortcode UI plugin. When the Shortcode UI plugin is installed and activated, in the visual editor, click Add Media->Insert Post Element->Lorem Ipsum
to add the shortcode.
Shortcode, a "shortcut to code", makes it easy to add funtionality to a page or post. When a page with a shortcode is saved, WordPress execute the linked code and embedds the output in the page.
rand()
max valueextract()
blush