{"id":104104,"date":"2010-12-03T08:00:00","date_gmt":"2010-12-03T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/lorem-shortcode\/"},"modified":"2016-12-13T05:50:00","modified_gmt":"2016-12-13T05:50:00","slug":"lorem-shortcode","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/lorem-shortcode\/","title":{"rendered":"lorem shortcode"},"content":{"rendered":"<p>The plugin contains two shortcodes, <code>[lorem]<\/code> and <code>[loremimage]<\/code>, the <code>[loremimage]<\/code> shortcode can be nested in the <code>[lorem]<\/code> shortcode. The shortcodes generates dummy text and image when needed.<\/p>\n<h4>Usage<\/h4>\n<p>Add the <code>[lorem]<\/code> and\/or <code>[loremimage]<\/code> shortcode to a post or page, or if the <a href=\"https:\/\/wordpress.org\/plugins\/shortcode-ui\/\" rel=\"ugc\">Shortcode UI<\/a> plugin is installed and activated, in the visual editor, click <code>Add Media->Insert Post Element->Lorem Ipsum<\/code> to add the shortcode.<\/p>\n<h4>Parameters, all are optional<\/h4>\n<p><strong>[lorem]<\/strong><\/p>\n<ul>\n<li>p=\u201d3\u2033 Number of paragraphs. Default is 5<\/li>\n<li>l=\u201d7\u2033, Number of lines per paragraph. Default is 3<\/li>\n<li>align=\u201dright\u201d This tells how you\u2019d like to allign a nested shortcode. There are two alternatives, left or right. Default is right<\/li>\n<\/ul>\n<p><strong>[loremimage]<\/strong><\/p>\n<p>The loremimage is created using <a href=\"http:\/\/dummyimage.com\/\" rel=\"nofollow ugc\">http:\/\/dummyimage.com\/<\/a>, and hence the shortcode supports the same parameters as <a href=\"http:\/\/dummyimage.com\/\" rel=\"nofollow ugc\">http:\/\/dummyimage.com\/<\/a>.<\/p>\n<ul>\n<li>size=\u201d400\u00d7400\u2033 Image size. Default is 300\u00d7200<\/li>\n<li>text=\u201dlorem ipsum\u201d Default is empty<\/li>\n<li>fgcolor=\u201dfff\u201d Image foreground color. Default is \u201cccc\u201d<\/li>\n<li>bgcolor=\u201dccc\u201d Image foreground color. Default is  \u201ceee\u201d<\/li>\n<li>format=\u201dpng\u201d, Image format. Default is \u201cpng\u201d<\/li>\n<\/ul>\n<p>I\u2019ve added two additional parameters\/values<\/p>\n<ul>\n<li>size=\u201dthumb\u201d This will create a thumbnail, size based on your WordPress image settings. The thumb links to another image and support Lightbox et al (has attribute <code>rel=\"lightbox[lorem]\"<\/code>).<\/li>\n<li>style=\u201dpadding:5px;\u201d Adds a style to the loremimage. Default is empty<\/li>\n<\/ul>\n<h4>Example<\/h4>\n<pre><code>[lorem p=\"1\" l=\"20\"]\n    [loremimage size=\"300x300\" style=\"padding:5px;\"]\n[\/lorem]\n<\/code><\/pre>\n<p>For more information and screenshots, please see the <a href=\"http:\/\/soderlind.no\/archives\/2010\/11\/17\/lorem-shortcode\/\" rel=\"nofollow ugc\">plugin home page<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The plugin contains two shortcodes, lorem and loremimage, the loremimage shortcode can be nested in the lorem shortcode.<\/p>\n","protected":false},"author":65,"featured_media":303157,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"lorem shortcode - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"The plugin contains two shortcodes, lorem and loremimage, the loremimage shortcode can be nested in the lorem shortcode."},"footnotes":""},"categories":[1],"tags":[29758,4519,4522,20062,345],"class_list":["post-104104","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-dummy-image","tag-dummy-text","tag-lorem-ipsum","tag-shortcake","tag-shortcode"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/104104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=104104"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/104104\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/303157"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=104104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=104104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=104104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}