Just Add Lipsum

Creates a [lorem-ipsum] shortcode which can be used to add Lorem Ipsum text to any field which accepts shortcodes.

Author:Eugene Brodsky (profile at wordpress.org)
WordPress version required:2.0.2
WordPress version tested:3.0.5
Plugin version:0.1
Added to WordPress repository:18-11-2010
Last updated:18-11-2010
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://teknogenik.com/just-add-lipsum
Total downloads:1 437
Active installs:50+
plugin download
Click to start download

This is a simple plugin which creates a [lorem-ipsum] shortcode that can be used to add an arbitrary number of Lorem Ipsum paragraphs (default 2), each one of arbitrary length (default 40 words). There are some plugins out there which create dummy content (posts/pages) filled with Lorem Ipsum, but this one just allows one to insert Lorem Ipsum into existing content, wherever shortcodes are accepted. I developed this to help place chunks of text into my test posts during theme development.

Maximum length of each paragraph and the number of paragraphs can be specified in the shortcode.

Features like paragraph length randomization and text start offset are supported but are not yet implemented in the admin interface. Currently, the length of each passage is randomized to 1/3 of the specified maximum paragraph length (e.g. for a 60-word paragraph, the actual generated length could be anywhere from 60 to 80 words). Each paragraph will also start at a different point in the text.

Usage: The shortcode takes the "p" and "wmax" parameters. "p" sets the number of generated paragraphs, and "wmax" sets the maximum length, in words, of each paragraph. Note that this value is used to set the actual max length, which can vary up to wmax+wmax/3.

If called without parameters, [lorem-ipsum] will create 2 paragraphs of 60 to 80 words each.

Examples: * [lorem-ipsum] * [lorem-ipsum p=6] * [lorem-ipsum wmax=100] * [lorem-ipsum p=9 wmax=21]


ChangeLog