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

WP Example Content

描述

Easily add and remove example post content to assist you in designing and developing new and current themes. Enjoy!

After activating the plugin, simply access the plugin in the admin panel navigation (usually the last item).

Choose to “Add Bundle of Sample Posts”, or “Remove All Sample Posts” added by the plugin.

You can add as many bundles as you’d like, and the “Remove All Sample Posts” function will still work, and will only ever delete the posts and pages created by this plugin.

屏幕截图

  • This is the admin panel where you can add bundles of posts and pages, or remove all posts and pages created by WP Example Content.
  • A fresh WordPress install with using WP Example Content to populate pages and posts.
  • A listing of the pages added by WP Example Content.

安装

This section describes how to install the plugin and get it working.

  1. Upload WP Example Content to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Navigate to the “WP Example Content” option in the Admin Menu (usual the last item).
  4. Enjoy!

常见问题

Can I add more than one bundle of posts and pages?

Absolutely! Add bundles till you have enough for your needs.

If I delete one post or page from an added bundle, will “Remove All Sample Posts” still work?

Certainly will! Remove all posts will always remove any posts and pages that WP Example Content has generated.

Will “Remove All Sample Posts” erase my current blog posts?

Sure won’t! It will only erase posts and pages created by this plugin.

评价

2017 年 1 月 21 日
This plugin just saved me a great deal of time and energy. I love it.
2016 年 9 月 3 日
Great developers tool! I want to thank you for creating such awesome plugin Josh! Keep up great work! I really love the awesome ONE button operation of ADDING and then REMOVING all example content! Just one simple request if possible in future versions to have few featured images selected already for the posts/pages so we can test sections of themes which use featured images(e.g. homepage or cat page) withe example posts which have featured images already set. Thank you again for wonderful creation!
2016 年 9 月 3 日
everytime you hit the button he spits out some sample posts and pages(!) with lists, images, quotes etc..
2017 年 2 月 8 日
Needs updating to work with current version of wordpress. I get the follow errors after installing. Notice: Undefined index: add_bundle in /html/wp-content/plugins/wp-example-content/magic.php on line 45 Notice: Undefined index: remove_all in /html/wp-content/plugins/wp-example-content/magic.php on line 49
阅读所有13条评价

贡献者及开发者

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

贡献者

将“WP Example Content”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0

  • First release!

1.1

  • Updated menu position declaration to play nicely with other plugins.

1.2

  • Updated for WP 3.8 compatibility

1.3

  • Updated for WP 4.1.1 compatibility