WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to automatically delete the default wordpress posts and pages when activating theme theme?

share|improve this question
up vote 0 down vote accepted

The following question gives you some insights how you can create an initialization script which should cleanup a fresh WordPress installation. It's not complete but it's a good startpoint.

-> Initialization Script for “Standard” Aspects of a WordPress Website?

share|improve this answer
Excellent, thank you. This also helped with some other things I was looking for. – JonnyPlow Sep 25 '11 at 4:05

Your Answer


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.