Title: Demo Data Creator
Author: Chris Taylor
Published: <strong>8 de junio de 2009</strong>
Last modified: 31 de enero de 2017

---

Buscar plugins

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/demo-data-creator.svg)

# Demo Data Creator

 Por [Chris Taylor](https://profiles.wordpress.org/mrwiblog/)

[Descargar](https://downloads.wordpress.org/plugin/demo-data-creator.zip)

 * [Detalles](https://es.wordpress.org/plugins/demo-data-creator/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/demo-data-creator/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/demo-data-creator/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/demo-data-creator/#developers)

 [Soporte](https://wordpress.org/support/plugin/demo-data-creator/)

## Descripción

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

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. The parameter options include:

    ```
    * Number of users to create
    * Number of blogs per user (for 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
    ```

For BuddyPress you also have:

    ```
    * 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.

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.

## Capturas

 * [[
 * The demo data admin page

## Instalación

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

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 activation.
So the path to the file should be /wp-content/mu-plugins/demodata.php. Access the
form from the «Site Admin» menu in the Dashboard.

## FAQ

  The plugin deleted all my data! Why?

I have been as clear as I can about the use for this plugin. It creates demo data(
posts, pages, comments, users etc) but when you choose to delete that data IT WILL
WIPE YOUR ENTIRE WORDPRESS DATABASE.

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. ONLY USE THIS PLUGIN ON A SITE WHERE YOU 
KNOW THE DATABASE CAN BE WIPED.

  Why did you write this plugin?

To scratch my own itch when developing sites. Hopefully this plugin helps other 
developers too.

  What about BuddyPress support

The DemoData plugin now supports BuddyPress.

## Reseñas

![](https://secure.gravatar.com/avatar/a35530cc831145b6cd642d27d4e285ef9cdaaa85d4fe257fb43fc36383a156c1?
s=60&d=retro&r=g)

### 󠀁[Dangerous Plugin](https://wordpress.org/support/topic/dangerous-plugin-19/)󠁿

 [Darryl](https://profiles.wordpress.org/darrylschmidt/) 9 de marzo de 2022

A plugin that creates demo data should also have the ability to remove all of the
demo data without trashing the entire site. Why would there even be an option to
smoke the database? What purpose is that? And to dook on the database making the
site completely unusable just boggles my mind. If you can’t remove the information
that you added and only that information, don’t have a nuclear option that just 
ruins people’s day.

![](https://secure.gravatar.com/avatar/420b761809dcd57e34eebe915b91562909e4da6d2fa96d03277fb6db64c4e9fa?
s=60&d=retro&r=g)

### 󠀁[Good for development](https://wordpress.org/support/topic/good-for-development/)󠁿

 [Subrata Sarkar](https://profiles.wordpress.org/subrataemfluence/) 25 de agosto
de 2017

Good and handy tool for development.

![](https://secure.gravatar.com/avatar/451ea26de7a1546c5aa2604be62462ce487a3f3fba8c7063d6e3f00ee8ef6859?
s=60&d=retro&r=g)

### 󠀁[Used it for creating test users](https://wordpress.org/support/topic/used-it-for-creating-test-users/)󠁿

 [AntoineH](https://profiles.wordpress.org/antoineh/) 28 de mayo de 2019

This plugin came in very handy during development of my own plugin. I used it to
create a lot of users and it did exactly what it should. Not sure where all the 
negativity about wiping the database comes from. Are they users that didn’t read
all the warnings? Or did older versions of the plugin not warn about wiping all 
data? Anyway, now it does 🙂

![](https://secure.gravatar.com/avatar/40d7759c6d9ffed2e216b052cd3e31097ac4829fddf2049654b0ea0755111c14?
s=60&d=retro&r=g)

### 󠀁[Excelent! negative comments come from people who doesn't read!](https://wordpress.org/support/topic/excelent-negative-comments-come-from-people-who-doesnt-read/)󠁿

 [Lu Is](https://profiles.wordpress.org/kalimanmx/) 3 de septiembre de 2016

Does exactly what it offers! Nothing less. People complaining is too lazy to read
the SEVERAL warnings about the usage of this plugin.

![](https://secure.gravatar.com/avatar/8787439fe6da74d3bb365f38fb8b4022a7460ce62bf97ab2525d20dfa93e6e79?
s=60&d=retro&r=g)

### 󠀁[Thanks](https://wordpress.org/support/topic/thanks-901/)󠁿

 [Ali.Dbg](https://profiles.wordpress.org/alidbg/) 3 de septiembre de 2016

Thanks

![](https://secure.gravatar.com/avatar/92ad0c68ac11565f50727c10acca312d32d24dfbe0783a2018e37d5269e1b06a?
s=60&d=retro&r=g)

### 󠀁[Does EXACTLY what it says it will – thanks! Very Handy](https://wordpress.org/support/topic/does-exactly-what-it-says-it-will-thanks-very-handy/)󠁿

 [anmari](https://profiles.wordpress.org/anmari/) 3 de septiembre de 2016

Very handy for a test system. As it says – do not use on a production system. The
only way it could be any better would be if one could selectively delete, say just
users in a range, or just posts in a range. But then that’s not that hard to do 
via PHPMYADMIN now is it? It would maybe stop those idiots who click the button 
that says «This will delete everything» and then complain that it did exactly that

 [ Leer todas las 22 reseñas ](https://wordpress.org/support/plugin/demo-data-creator/reviews/)

## Colaboradores y desarrolladores

«Demo Data Creator» es un software de código abierto. Las siguientes personas han
colaborado con este plugin.

Colaboradores

 *   [ Chris Taylor ](https://profiles.wordpress.org/mrwiblog/)

[Traduce «Demo Data Creator» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/demo-data-creator)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/demo-data-creator/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/demo-data-creator/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/demo-data-creator/)
por [RSS](https://plugins.trac.wordpress.org/log/demo-data-creator/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.3.4 (2017/01/31)

Fixed deprecation error messages. Fixed lorempixel.com random image links. Tested
up to 4.7.2.

#### 1.3.3 (2015/11/17)

Added even more warnings about data loss. DO NOT USE THIS PLUGIN ON A PRODUCTION
SITE, OR ON A SITE WHERE YOU NEED TO KEEP THE DATA.

#### 1.3.2 (2014/06/19)

Added more checking for empty $current_site variable. Thanks to Juliette RF for 
contributing a patch.

#### 1.3.1 (2014/03/09)

Added catch for empty $current_site variable reported at https://wordpress.org/support/
topic/little-bug-on-line-60-demodataphp by https://wordpress.org/support/profile/
templaries

#### 1.3 (2013/09/18)

Updated user creation to use wp_insert_user(). Many thanks to Steve at http://slipfire.
com/ for the code.

#### 1.2 (2013/01/05)

Fixed incorrect function and class calls.

#### 1.1 (2012/09/18)

Added support for creating random post dates (thanks to derscheinwelt for the suggestion
and code).

#### 1.0 (2012/01/24)

Added support for random images in pages and posts, thanks to LoremPixum.com. Made
delete data warning even more obvious.

#### 0.9.8 (2011/09/26)

Fixed bug that stopped author pages working for automatically created users. Thanks
to Zoltán János Jánosi for the fix.

#### 0.9.7.7 (2011/03/05)

Fixed bug when creating users on a site with no domain suffix (for example «http://
localhost»)

#### 0.9.7.6 (2010/12/03)

Fixed bug in Plugin Register caused by latest version of WordPress

#### 0.9.7.5 (2010/10/16)

Made the «Delete all data» option clearer to understand

#### 0.9.7.4 (2010/09/09)

Fixed bugs with different version of WordPress (standard and MultiSite) and with
BuddyPress

#### 0.9.7.3 (2010/09/02)

Fixed bug when creating users in BuddyPress. This was related to a bug in wp_create_user()
which returned an incorrect error for invalid email addresses.

#### 0.9.7.2 (2010/07/10)

Fixed bug where menu option not appearing. Thanks to Lisa Drew from http://lyricalbiz.
com/ for help fixing this bug.

#### 0.9.7.1 (2010/07/04)

Updated documentation

#### 0.9.7 (2010/06/23)

Fixed bug with menu in standard WP

#### 0.9.6 (2010/06/18)

Fixed bug caused by with WordPress 3.0 not creating blog tables

#### 0.9.5 (2010/06/11)

Made plugin compatible with WordPress 3.0

#### 0.9.4 (2010/05/14)

Updated plugin URI

#### 0.9.3 (2010/04/20)

Implemented new Plugin Register version

#### 0.9.2 (2010/04/12)

Fixed bug with non-deletion of activity streams

#### 0.9.1 (2010/04/01)

Added Plugin Register code

#### 0.9 (2010/03/23)

Made plugin compatible with standard WordPress

#### 0.8

Added compatibility with BuddyPress 1.2. Converted form to use AJAX where possible.

#### 0.7

Added support link and donate button

#### 0.6

Fixed bug which stopped demo blog tables being created

#### 0.5

Fixed bugs with user wire posts, added support for group wire posts, cleaned up 
code

#### 0.4

Prepared code for proper translation support, fixed bug with BuddyPress XProfile
data, added support for BuddyPress status messages

#### 0.3

Cleaned up code

#### 0.2

Added categories, pages for normal WordPress MU sites. Added BuddyPress groups, 
group members and user friends BuddyPress-enabled sites.

#### 0.1

Initial version added to WordPress plugin repository

## Meta

 *  Versión **1.3.4**
 *  Última actualización **hace 9 años**
 *  Instalaciones activas **70+**
 *  Versión de WordPress ** 2.7 o superior **
 *  Probado hasta **4.7.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/demo-data-creator/)
 * Etiquetas:
 * [buddypress](https://es.wordpress.org/plugins/tags/buddypress/)[data](https://es.wordpress.org/plugins/tags/data/)
   [demo](https://es.wordpress.org/plugins/tags/demo/)[example](https://es.wordpress.org/plugins/tags/example/)
   [wpmu](https://es.wordpress.org/plugins/tags/wpmu/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/demo-data-creator/advanced/)

## Valoraciones

 3.5 de 5 estrellas.

 *  [  11 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/demo-data-creator/reviews/?filter=5)
 *  [  3 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/demo-data-creator/reviews/?filter=4)
 *  [  1 valoración de 3 estrellas     ](https://wordpress.org/support/plugin/demo-data-creator/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/demo-data-creator/reviews/?filter=2)
 *  [  7 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/demo-data-creator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/demo-data-creator/reviews/#new-post)

[Ver todas las valoraciones](https://wordpress.org/support/plugin/demo-data-creator/reviews/)

## Colaboradores

 *   [ Chris Taylor ](https://profiles.wordpress.org/mrwiblog/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/demo-data-creator/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](http://www.stillbreathing.co.uk/donate/)