{"id":17962,"date":"2012-05-02T21:17:14","date_gmt":"2012-05-02T21:17:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-lipsum\/"},"modified":"2012-05-07T12:14:39","modified_gmt":"2012-05-07T12:14:39","slug":"wp-lipsum","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/wp-lipsum\/","author":8876778,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"trunk","tested":"3.3.2","requires":"3.3.2","requires_php":"","requires_plugins":"","header_name":"WP Lipsum","header_author":"Dylan Hassinger","header_description":"","assets_banners_color":"a3a7a8","last_updated":"2012-05-07 12:14:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/bedrocktheme.com\/","header_author_uri":"http:\/\/dylanhassinger.net\/","rating":1,"author_block_rating":0,"active_installs":10,"downloads":3089,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"":"<p>Note: if you create your own custom lipsum templates, make sure to back them up before you upgrade this plugin.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"539201","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539221","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539221","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539221","resolution":"1","location":"plugin"}},"screenshots":{"1":"The \"basic\" template","2":"The \"aux\" template","3":"The \"blog\" template"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6529,40645,1259],"plugin_category":[],"plugin_contributors":[91806],"plugin_business_model":[],"class_list":["post-17962","plugin","type-plugin","status-publish","hentry","plugin_tags-dummy-text","plugin_tags-lipsum","plugin_tags-lorem-ipsum","plugin_contributors-dylanized","plugin_committers-dylanized"],"banners":{"banner":"https:\/\/ps.w.org\/wp-lipsum\/assets\/banner-772x250.png?rev=539201","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-lipsum_a3a7a8.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-lipsum\/trunk\/screenshot-1.png?rev=1539221","caption":"The \"basic\" template"},{"src":"https:\/\/ps.w.org\/wp-lipsum\/trunk\/screenshot-2.png?rev=1539221","caption":"The \"aux\" template"},{"src":"https:\/\/ps.w.org\/wp-lipsum\/trunk\/screenshot-3.png?rev=1539221","caption":"The \"blog\" template"}],"raw_content":"<!--section=description-->\n<p>WP-Lipsum includes a collection of template fragments representing lots of common page types, from simple lorem ipsum paragraphs to demos of the WP comment system, and more. It works via a simple shortcode or template tag.<\/p>\n\n<h4>Using the Shortcode<\/h4>\n\n<pre><code>[lipsum]\n<\/code><\/pre>\n\n<p>This outputs the basic content block. You can edit this in wp-lipsum\/templates\/basic.php.<\/p>\n\n<pre><code>[lipsum template=aux]\n<\/code><\/pre>\n\n<p>This outputs the auxilary lipsum page, with tables, definition lists, and more. You can edit this in templates\/aux.php.<\/p>\n\n<pre><code>[lipsum repeat=4]\n<\/code><\/pre>\n\n<p>This outputs 4 simple paragphs of lorem ipsum text. You can edit the text in templates\/p.php.<\/p>\n\n<pre><code>[lipsum template=ol repeat=3]\n<\/code><\/pre>\n\n<p>This loads the ordered list template and displays it 3 times.<\/p>\n\n<pre><code>[lipsum t=ol r=3]\n<\/code><\/pre>\n\n<p>You can also use \u201ct\u201d and \u201cr\u201d as parameter shortcuts.<\/p>\n\n<h4>Lipsum Templates and Fragments<\/h4>\n\n<p>Here are the full pages of lipsum content available:<\/p>\n\n<ul>\n<li>Basic Content \u2013 \u201cbasic\u201d<\/li>\n<li>Aux Content \u2013 \u201caux\u201d<\/li>\n<li>Blog Demo \u2013 \u201cblog\u201d<\/li>\n<li>Single Post Demo \u2013 \u201csingle\u201d<\/li>\n<li>Headline List \u2013 \u201cheadline_list\u201d<\/li>\n<li>Gallery Demo \u2013 \u201cgallery\u201d<\/li>\n<li>Portfolio Demo \u2013 \u201cportfolio\u201d<\/li>\n<li>Long Header Examples \u2013 \u201clong_headers\u201d<\/li>\n<li>Short Content Demo \u2013 \u201cshort\u201d<\/li>\n<li>Template Fragments<\/li>\n<\/ul>\n\n<p>You can also call these smaller fragments, and use the \u201crepeat\u201d parameter:<\/p>\n\n<ul>\n<li>Single Paragraph \u2013 \u201cp\u201d<\/li>\n<li>Unordered List \u2013 \u201cul\u201d<\/li>\n<li>Ordered List \u2013 \u201col\u201d<\/li>\n<li>Definition List \u2013 \u201cdl\u201d<\/li>\n<li>Table Example \u2013 \u201ctable\u201d<\/li>\n<li>Blockquote \u2013 \u201cblockquote\u201d<\/li>\n<li>Blog Teaser \u2013 \u201cblog_teaser\u201d<\/li>\n<li>Image (without caption) - \"img\"<\/li>\n<li>Image with WP Caption - \"caption\"<\/li>\n<li>Code Demo \u2013 \u201ccode\u201d<\/li>\n<li>Comments Demo \u2013 \u201ccomments\u201d<\/li>\n<li>Gallery Item \u2013 \u201cgallery_item\u201d<\/li>\n<li>List of Headers \u2013 \u201cheaders\u201d<\/li>\n<li>Headline Teaser \u2013 \u201cheadline_teaser\u201d<\/li>\n<li>Misc Content \u2013 \u201cmisc\u201d<\/li>\n<li>Portfolio Item \u2013 \u201cportfolio_item\u201d<\/li>\n<\/ul>\n\n<p>All lipsum template snippets are located in plugins\/wp-lipsum\/templates. You can easily add new template files in here, and call them with the \u201ctemplate\u201d attribute.<\/p>\n\n<p>Templates use Bedrock conventions, including class names (like .table-style and .post-nav), using H1s and H2s only for titles, and other concepts.<\/p>\n\n<h4>Image Dimensions<\/h4>\n\n<p>For the image templates, you can also pass in custom dimensions with the \"width\", \"height\" and \"align\" parameters (shorcuts w, h and a). This works for the img, caption, portfolio &amp; portfolio_item, and gallery &amp; gallery_item templates.<\/p>\n\n<pre><code>[lipsum template=img width=300 height=150]\n\n[lipsum t=caption w=300 h=150 a=right]\n\n[lipsum t=gallery w=500 h=220]\n\n[lipsum t=portfolio w=100 h=100]\n<\/code><\/pre>\n\n<p>Align can be set to \"left\", \"right\", \"center\" or \"none\". These parameters default to 200x200, and alignleft.<\/p>\n\n<h4>Using the Template Tag<\/h4>\n\n<p>You can also call the plugin from your theme code, by using the display_lipsum_template() function:<\/p>\n\n<pre><code>&lt;?php display_lipsum_template($template, $repeat); ?&gt;\n&lt;?php display_lipsum_template('basic') ?&gt;\n&lt;?php display_lipsum_template('table', 4) ?&gt;\n&lt;?php display_lipsum_template('caption', 1, 500, 300, 'right') ?&gt;\n<\/code><\/pre>\n\n<h4>More Info<\/h4>\n\n<p><a href=\"http:\/\/bedrocktheme.com\/wp-lipsum\/\" title=\"View the WP-Lipsum homepage here\">View the WP-Lipsum homepage here<\/a><\/p>\n\n<p>WP-Lipsum is a part of the Bedrock mini-framework, more info at <a href=\"http:\/\/bedrocktheme.com\/\" title=\"bedrocktheme.com\">bedrocktheme.com<\/a><\/p>\n\n<p>Follow me at <a href=\"http:\/\/dylanized.com\/\" title=\"dylanized.com\">dylanized.com<\/a> and <a href=\"http:\/\/twitter.com\/dylanized\" title=\"@dylanized\">@dylanized<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload  the \"wp-lipsum\" folder to the \"\/wp-content\/plugins\/\" directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Now you can use the shortcodes and the template tag<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added image dimensions and alignment parameters, and the img template<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added \"t\" and \"r\" shortcuts, submitted to WP Directory<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added lots more templates and changed paramters to \"template\" and \"repeat\"<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed a bug<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>First version, just had a couple templates<\/p>","raw_excerpt":"WP-Lipsum is a simple plugin for generating dummy text for your WordPress site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17962"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dylanized"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17962"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17962"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17962"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17962"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17962"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}