Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

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
share|improve this answer
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 Apr 4 '11 at 0:53
add comment

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.

share|improve this answer
    
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 Apr 3 '11 at 21:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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