Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Lorem ipsum dummy article shortcode

Описание

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].

Versioning and issues

The main CVS repo for this plugin is on Github. The version up on WordPress is a distilled build of the major tags.
If you have any issues or suggestions please put them on Github.

Установка

Either use WordPress’ built-in plugin installer.
Or install manually; download and unzip (or clone) the plugin to the /wp-content/plugins/ directory. Then activate the plugin through the Plugins menu in WordPress.

Отзывы

05.05.2017
I like the Lorem Ipsum Dummy Article Shortcode plugin both for its brevity (I think [lll] really is long enough for a shortcode) and for its versatility: it doesn’t simple generate a few paragraphs of text, but generates what looks like a real article (or page) with images and all. Plus, you can tailor it to your specific needs. I sure am glad this plugin still works under WP 4.6.x and I keep my fingers crossed that it may continue to do so for many iterations of WP yet to come.
08.02.2017
I am new and starting a new site, so I have no content yet. This fills the gap and is very useful to help me choose between various themes. And its funny too, in a way 🙂 Thank you.
Посмотреть все 2 отзыва

Участники и разработчики

«Lorem ipsum dummy article shortcode» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Lorem ipsum dummy article shortcode» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.2

  • initial release