Title: Missing Content
Author: dholloran
Published: <strong>2014 年 3 月 26 日</strong>
Last modified: 2014 年 3 月 30 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/missing-content.svg)

# Missing Content

 作者：[dholloran](https://profiles.wordpress.org/dholloran/)

[下载](https://downloads.wordpress.org/plugin/missing-content.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/missing-content/#description)
 * [评价](https://cn.wordpress.org/plugins/missing-content/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/missing-content/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/missing-content/#developers)

 [支持](https://wordpress.org/support/plugin/missing-content/)

## 描述

Missing content offers multiple different content choices, if you would like to 
request something else please post it to the [support forums](https://wordpress.org/support/plugin/missing-content).

#### Content Choices

 * Loreum Ipsum from [http://loripsum.net/](http://loripsum.net/)
 * Bacon Ipsum from [http://baconipsum.com/api/](http://baconipsum.com/)
 * Hipster Ipsum from [http://hipsterjesus.com/](http://hipsterjesus.com/)
 * Blokk Font [http://blokkfont.com/](http://blokkfont.com/)
 * Image from [http://placehold.it](http://placehold.it)

#### How do I use it?

Either with the shortcode `[missing-content]` in the post editor or with the function`
mcn_missing_content( $atts, $echo = true )` in your template.

#### Options

 * **content_type=”lipsum”** options: lipsum|hipster|bacon|blokk|image
 * **paragraph_count=”3″** Ignored if random=”true”
 * **min_paragraph_count=”1″** Requires random=”true”
 * **max_paragraph_count=”5″** Requires random=”true”
 * **width=”150″** Ignored if random=”true”
 * **min_width=”150″** Requires random=”true” and content_type=”image”
 * **max_width=”1200″** Requires random=”true” and content_type=”image”
 * **height=”150″** Ignored if random=”true”
 * **min_height=”150″** Requires random=”true” and content_type=”image”
 * **max_height=”1200″** Requires random=”true” and content_type=”image”
 * **random=”false”** options: (shortcode: “true”|”false”) (function: `true`|`false`)
 * **cache_duration=”10800″** 3 hours (3 * 60 * 60) options: {time in seconds}|always
   |never

#### Examples

 * **`[missing-content]`** 3 paragraphs from [http://loripsum.net/](http://loripsum.net/)
   updated every 3 hours.
 * **`[missing-content cache_duration="always"]`** Never updates the content.
 * **`[missing-content cache_duration="never"]`** 3 paragraphs from [http://loripsum.net/](http://loripsum.net/)
   updated every page refresh. NOTE: do not use this if using a tool like LiveReload.
 * **`[missing-content paragraph_count="1" cache_duration="86400"]`** Displays one
   paragraph updated every day (24 * 60 * 60).
 * **`[missing-content content_type="bacon" paragraph_count="5"]`** 5 paragraphs
   from [http://baconipsum.com/api/](http://baconipsum.com/) updated every 3 hours.
 * **`[missing-content content_type="hipster"]`** 3 paragraphs from [http://hipsterjesus.com/](http://hipsterjesus.com/)
   updated every 3 hours.
 * **`[missing-content content_type="blokk"]`** 3 paragraphs of Blokk font using
   [http://blokkfont.com/](http://blokkfont.com/) updated every 3 hours.
 * **`[missing-content content_type="image" width="500" height="500"]`** 500px x
   500px image from [http://placehold.it](http://placehold.it) NOTE: no cache control.
 * **[missing-content content_type=”image” random=”true” min_width=”150″ max_width
   =”500″ min_height=”150″ max_height=”300″]** Random sized image 150px – 500px 
   wide and 150px – 300px high.
 * **[missing-content random=”true” min_paragraph_count=”1″ max_paragraph_count=”
   5″]** 1-5 paragraphs from a random content source.

More examples can be found [here](http://danholloran.me/missing-content/)

## 屏幕截图

[⌊3 paragraphs of Loreum Ipsum from http://loripsum.net/⌉⌊3 paragraphs of Loreum
Ipsum from http://loripsum.net/⌉[

3 paragraphs of Loreum Ipsum from [http://loripsum.net/](http://loripsum.net/)

[⌊3 paragraphs of Bacon Ipsum from http://baconipsum.com/api/⌉⌊3 paragraphs of Bacon
Ipsum from http://baconipsum.com/api/⌉[

3 paragraphs of Bacon Ipsum from [http://baconipsum.com/api/](http://baconipsum.com/)

[⌊3 paragraphs of Hipster Ipsum from http://hipsterjesus.com/⌉⌊3 paragraphs of Hipster
Ipsum from http://hipsterjesus.com/⌉[

3 paragraphs of Hipster Ipsum from [http://hipsterjesus.com/](http://hipsterjesus.com/)

[⌊1 paragraph of Blokk Font http://blokkfont.com/⌉⌊1 paragraph of Blokk Font http://
blokkfont.com/⌉[

1 paragraph of Blokk Font [http://blokkfont.com/](http://blokkfont.com/)

[⌊350px x 150px Image from http://placehold.it⌉⌊350px x 150px Image from http://
placehold.it⌉[

350px x 150px Image from [http://placehold.it](http://placehold.it)

## 安装

#### WordPress Plugin Repository

 1. Navigate to Plugins > Add New in the WordPress admin.
 2. Search for Missing Content or missing-content.
 3. Click Install Now.
 4. Choose activate this plugin.
 5. Add [missing-content] where you want the missing content to appear with your selected
    options.

#### Manual Installation

 1. Download the latest missing-content.zip.
 2. Navigate to Plugins > Add New in the WordPress admin.
 3. Select upload from the top navigation.
 4. Upload the latest missing-content.zip.
 5. Choose activate this plugin.
 6. Add [missing-content] where you want the missing content to appear with your selected
    options.

## 常见问题

No FAQs so far.

  How do I ask a question?

Support forums here https://wordpress.org/support/plugin/missing-content.

  How do I report an issue or bug?

Please report all issues and bugs to https://github.com/matchboxdesigngroup/missing-
content/issues.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Missing Content」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ dholloran ](https://profiles.wordpress.org/dholloran/)
 *   [ matchboxdesigngroup ](https://profiles.wordpress.org/matchboxdesigngroup/)
 *   [ Cullen Whitmore ](https://profiles.wordpress.org/cwhitmore/)

[帮助将「Missing Content」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/missing-content)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/missing-content/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/missing-content/)，或通过[RSS](https://plugins.trac.wordpress.org/log/missing-content/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/missing-content/)。

## 更新日志

#### 1.0.0

 * Initial release.

#### 1.1.0

 * Added random option to allow retrieval of random amounts of content from a random
   source.
 * Added easy access to missing content in a template using `mcn_missing_content()`
 * Fixed assets being enqueued in `wp_head` instead of `wp_enqueue_scripts`
 * Miscellaneous tweaks.

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/missing-content/)
 * 标签
 * [content](https://cn.wordpress.org/plugins/tags/content/)[development](https://cn.wordpress.org/plugins/tags/development/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[testing](https://cn.wordpress.org/plugins/tags/testing/)
 *  [高级视图](https://cn.wordpress.org/plugins/missing-content/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/missing-content/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/missing-content/reviews/)

## 贡献者

 *   [ dholloran ](https://profiles.wordpress.org/dholloran/)
 *   [ matchboxdesigngroup ](https://profiles.wordpress.org/matchboxdesigngroup/)
 *   [ Cullen Whitmore ](https://profiles.wordpress.org/cwhitmore/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/missing-content/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://matchboxdesingroup.com/)