[wordpress插件] Demo Data Creator演示数据创建者

wordpress 插件 文章 2020-04-15 06:50 772 0 全屏看文

AI助手支持GPT4.0

评分
72
描述

DO NOT USE THIS PLUGIN ON A PRODUCTION SITE, OR ON A SITE WHERE YOU NEED TO KEEP THE DATA.

请勿在生产站点或需要保留数据的站点上使用此插件。

When deleting demo data your ENTIRE WordPress database will be reset, deleting ALL your posts, pages, comments and users.

删除演示数据时,您的整个WordPress数据库将被重置,同时删除您的所有帖子,页面,评论和用户。

ONLY USE THIS PLUGIN ON A SITE WHERE YOU KNOW THE DATABASE CAN BE WIPED.

仅在您知道可以擦除数据库的站点上使用此插件。

If you develop WordPress websites it’s useful to have some demo data in your system while it’s being built.

如果您开发WordPress网站,则在构建系统时将一些演示数据存储在系统中会很有用。

This allows you to check that lists of things are displaying as they should, and that themes are working when they get data in them.

这样一来,您可以检查事物列表是否按原样显示,以及主题在它们中获取数据时是否在工作。

Historically it’s been a pain to add that data in. Either you need to take a backup of another site and use that data, or you need to tediously create multiple users and blogs yourself.

从历史上看,添加数据一直很麻烦。您要么需要备份另一个站点并使用该数据,要么需要繁琐地自己创建多个用户和博客。

No more, not now my Demo Data Creator is in town!

不再,现在不是我的Demo Data Creator了!

This WordPress, WPMU/MultiSite and BuddyPress plugin gives you a new admin screen where you can enter some parameters, click a button and (after a short wait) random demo data will be created.

此WordPress,WPMU / MultiSite和BuddyPress插件为您提供了一个新的管理屏幕,您可以在其中输入一些参数,单击一个按钮,然后(在短暂的等待后)将创建随机演示数据。

The parameter options include:

参数选项包括:

* Number of users to create

  *要创建的用户数

* Number of blogs per user (for WPMU/MultiSite)

*每个用户的博客数量(对于WPMU / MultiSite)

* Whether users must have a blog

*用户是否必须拥有博客

* Number of categories in each blog

*每个博客中的类别数

* Number of posts in each blog

*每个博客的帖子数

* Number of paragraphs in each blog post

*每个博客文章中的段落数

* Number of pages in each blog

*每个博客中的页面数

* Number of top-level pages

*顶层页面数

* Number of levels to nest pages

*嵌套页面的级别数

* Number of comments per post for each blog

*每个博客每个帖子的评论数

* Number of links in blogroll for each blog

*每个博客的Blogroll中的链接数

For BuddyPress you also have:

对于BuddyPress,您还具有:

* Number of groups

  *组数

* Number of members per group

*每组成员数

* Number of wire posts for each group

*每组的电线数量

* Number of friends per user

*每个用户的朋友数

* Number of statuses for each user

*每个用户的状态数

* Number of wire posts for each user

*每个用户的接线柱数

Post content and comment text is automatically generated from Lorem ipsum text, for post content it’s even HTML-formatted.

帖子内容和评论文本是从Lorem ipsum文本自动生成的,对于帖子内容甚至是HTML格式的。

Thanks to derscheinwelt for the suggestion and code to create random dates for posts, and Steve at http://slipfire.com/ for the wp_insert_user() code.

感谢dercheinwelt的建议和代码来为帖子创建随机日期,而Steve则通过http://slipfire.com/获得wp_insert_user()代码。

安装步骤

DO NOT USE THIS PLUGIN ON A PRODUCTION SITE, OR ON A SITE WHERE YOU NEED TO KEEP THE DATA.

请勿在生产站点或需要保留数据的站点上使用此插件。

When deleting demo data your ENTIRE WordPress database will be reset, deleting ALL your posts, pages, comments and users.

删除演示数据时,您的整个WordPress数据库将被重置,同时删除您的所有帖子,页面,评论和用户。

ONLY USE THIS PLUGIN ON A SITE WHERE YOU KNOW THE DATABASE CAN BE WIPED.

仅在您知道可以擦除数据库的站点上使用此插件。

Install from the WordPress plugin repository using the installer, or put all the files into a /wp-content/plugins/demodata/ directory.

使用安装程序从WordPress插件存储库进行安装,或将所有文件放入/ wp-content / plugins / demodata /目录。

Activate from the plugin admin screen.

从插件管理屏幕激活。

You can find the Demo Data Creator admin menu option in the “Tools” menu.

您可以在“工具”菜单中找到“演示数据创建者”管理菜单选项。

If you are using WordPress MultiSite (version 3.0 or above) you can find the Demo Data Creator admin menu option in the “Super Admin” menu.

如果您使用的是WordPress MultiSite(3.0或更高版本),则可以在“超级管理员”菜单中找到“演示数据创建者”管理员菜单选项。

If using WPMU (NOT WordPress 3.0 MultiSite): The plugin should be placed in your /wp-content/mu-plugins/ directory (not /wp-content/plugins/) and requires no

如果使用WPMU(不是WordPress 3.0 MultiSite):插件应放在您的/ wp-content / mu-plugins /目录(不是 / wp-content / plugins /)中,并且不需要

activation.

激活。

So the path to the file should be /wp-content/mu-plugins/demodata.php.

因此,文件的路径应为/wp-content/mu-plugins/demodata.php。

Access the form from the “Site Admin” menu in the Dashboard.

从控制台的“站点管理员”菜单中访问表单。

下载地址
https://downloads.wordpress.org/plugin/demo-data-creator.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] 404gotten.org 404 Page404gotten.org 404页面
[wordpress插件] Awesome Random Post很棒的随机帖子
[wordpress插件] Bible Reading Plans圣经阅读计划
[wordpress插件] Canalblog ImporterCanalblog导入
[wordpress插件] My Comments我的评论
随便看看
阿里云com、cn域名续费优惠码(2020年3月可用) 2863
线上防疫题库正确答案 2932
线上防疫题库正确答案(多选题) 4825
微信设置不可以使用小程序(游戏小程序) 5635
adsense申请已经支付的订单回退的网址 3212
BT面板查看网站入口、账号密码的命令 6009
ucloud海外服务器超级优惠券 3274
根据您的消费情况,您的延停权益已发生变化,变更后的延停权益为延停额度20.00元 5831
为什么我们喜欢迈克尔杰克逊。 4164
阿里云com、cn域名续费优惠码(2020年5月可用) 3586