3

I always find myself creating posts every time to test layout or design.

For example, I create stuff like:

Content 1

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

6 times.

Is there a fast way of copy pasting posts, duplicating them or auto-generating them, perhaps?

2 Answers 2

3

I use Demo Data Creator plugin with it you can create and set:

  • 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
1
  • 1
    For anyone interested you can see the bulk of the code for that plugin here, to get a better picture of how it creates and assigns names(random selection from array of values in most cases).
    – t31os
    Commented Apr 4, 2011 at 0:53
3

Ehm, Export/Import them with native functionality? :)

There is also official Theme Unit Test data with plenty of relevant stuff to go through when checking a theme.

1
  • There's a few invalid paths in that test data, but that's what i use. Not sure specifically which images(was a while ago i installed the test data), but i remember i had to update a few DB entries to get the images to appear(the paths were off)..
    – t31os
    Commented Apr 3, 2011 at 21:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.