I'm looking for a way to automatically add a large number of example posts to a WordPress blog for testing purposes.

I have the requirement to test a bulk process on 15,000 English blog posts (one or two paragraphs of text and nonsensical titles will do). As you can imagine, getting this volume of test content populated isn't something one would like to do by hand!

  • Would all the data have to be different, such as some containing media, some containing lists etc? Also, please edit your post to show what you have tried, and whether it has been successful.
    – EBennett
    Commented Sep 14, 2016 at 12:14
  • Actually I only need a paragraph or two worth of English sentences in each. Could be random, could be the same.
    – player.mdl
    Commented Sep 14, 2016 at 12:27
  • I would reckon that a PHP FOR or WHILE loop with a connection to the post DB of Wordpress would achieve this. So you would increment the loop, and every time it goes up one, insert a random sentence of your choosing into the DB.
    – EBennett
    Commented Sep 14, 2016 at 12:41

1 Answer 1


Try the following:

  1. Right click on this link and save the XML full of dummy content provided by WordPress
  2. In the sample data, you can remove the unwanted data such as pages, comments, categories, etc.
  3. Go to Tools > Import in the admin panel
  4. Install the "WordPress" importer from the list
  5. Activate & Run Importer
  6. Upload the XML file
  7. Map the authors in this export file to users of your choosing
  8. WordPress will then import each of the posts

If this doesn't satisfy, I'd recommend looking into plugins that generate dummy content to your expectations

  • Hmm...FakerPress looks very useful. However, it generates randomized lorem ipsum text. I require random English sentences. (Sorry for not stating this properly in my original post.) Any idea how one could attain that goal?
    – player.mdl
    Commented Sep 14, 2016 at 12:32
  • @player.mdl Found some sample data that may be useful, update my answer. Commented Sep 20, 2016 at 0:03

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.