该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Lorem Pixels

描述

Allows you to insert a snippet to randomly generate text and images at runtime.

This is a development purpose plugin. It helps you to quickly build text and images for your website. Until you come up with a final text that is suitable for your website, you can use the available shortcodes for your dummy text and image.

Random Text

Use shortcode: [lorem] for random text.
The text is served as micro-service api hosted at http://bimal.org.np/micro-services/lorem/lorem.php.

Random Image

Use shortcode [pixel width="200" height="100"] for random images.
Images are served using PlaceHold.it and/or other public image hosting services.

安装

Method #1

  • Go to your WP Admin > Plugins > Add New page.
  • Search for “Lorem Pixels”.
  • Click install. Click activate.

Method #2

  • Download this plugin as a .zip file.
  • Go to WP Admin > Plugins > Add new > Upload Plugin.
  • Upload the .zip file and activate the plugin.

Method #3

  • Download the file lorem-pixels.zip.
  • Unzip the file on your computer.
  • Upload folder lorem-pixels (you just unzipped) to /wp-content/plugins/ directory.
  • Activate the plugin through the WP Admin > Plugins menu.

Click on how to install a WordPress Plugin for more details.

常见问题

Installation Instructions

Method #1

  • Go to your WP Admin > Plugins > Add New page.
  • Search for “Lorem Pixels”.
  • Click install. Click activate.

Method #2

  • Download this plugin as a .zip file.
  • Go to WP Admin > Plugins > Add new > Upload Plugin.
  • Upload the .zip file and activate the plugin.

Method #3

  • Download the file lorem-pixels.zip.
  • Unzip the file on your computer.
  • Upload folder lorem-pixels (you just unzipped) to /wp-content/plugins/ directory.
  • Activate the plugin through the WP Admin > Plugins menu.

Click on how to install a WordPress Plugin for more details.

How can I use it?

Within your blog post or page, write a insert the similar snippet below:

Example for random text:

[lorem]

Example for random image:

[pixel width="200" height="100"]

The image server possibly allows to generate images of arbitrary dimensions. You can use your best fitting dimensions.

评价

2016 年 12 月 5 日
Cute little plugin, very handy for development.
阅读所有1条评价

贡献者及开发者

“Lorem Pixels” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Lorem Pixels”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release.