Lorem ipsum dummy article shortcode

A seeded dummy article generator shortcode for WordPress. This does not just generate 'lorem ipsum' but full HTML articles.

Author:Ron Valstar (profile at wordpress.org)
WordPress version required:2.8.6
WordPress version tested:4.1
Plugin version:1.0.5
Added to WordPress repository:24-01-2015
Last updated:24-01-2015
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, %:100
Rated by:2
Plugin URI:#
Total downloads:1 858
Active installs:10+
plugin download
Click to start download

This shortcode plugin does not simply generate dummy text but tries to mimic what a WordPress page or post might look like in real life. This includes paragraphs, commas, headings, hyperlinks and images. The output is easily adjustable through the shortcode attributes. The generated code is also seeded, meaning that the dummy html on page-x will always look the same (unless you specify your own seed). The plugin also adds the shortcode filter to the title, so you can also use [lll h] in your post title.

Shortcode attributes

You can adjust the shortcode by adding the following attributes. Some attributes have a single character alias for quick use.

  • paragraph (alias p): Number of paragraphs. Defaults to 12.
  • sentence (alias s): Number of sentences per paragraph. Defaults to 5.
  • word (alias w): Number of words per sentence. Defaults to 12.
  • header (alias h): Indicates a header. If attribute is set the other attributes will be ignored. Defaults to null.
  • seed: The random seed used for generating the article. Defaults to the post ID.
  • deviation: The random deviation used to determine the number of paragraphs, sentences and words. Defaults to 0.5.

Usage

To use the shortcode simply add [lll] to a post or page. Attributes are used like so; [lll p=8 seed=76432]. When used as a post title make sure to add the 'header' attribute; [lll h].


ChangeLog