Title: Delete Content?
Last modified: August 30, 2016

---

# Delete Content?

 *  Resolved [wahhadesign](https://wordpress.org/support/users/wahhadesign/)
 * (@wahhadesign)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/delete-content/)
 * I am assuming you can’t delete pages or posts with this? For instance if you 
   don’t need the post anymore and delete it, that doesn’t get synced with the live
   site then.
 * [https://wordpress.org/plugins/content-staging/](https://wordpress.org/plugins/content-staging/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/delete-content/#post-6418427)
 * Actually built an extension doing just that, will see if I can integrate it with
   the main plugin.
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/delete-content/#post-6418435)
 * I’ve added support for deleting posts, will be included in next plugin release.
   If you want to try it out immediately, see [https://github.com/stenberg/content-staging](https://github.com/stenberg/content-staging)
 * Thanks!
 *  Thread Starter [wahhadesign](https://wordpress.org/support/users/wahhadesign/)
 * (@wahhadesign)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418535)
 * Sorry, I never got back. This worked, thank you.
 *  [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418539)
 * I tried the new extension, but when I use it, it sticks on the Deploying Batch
   screen:
 * Prepare import on xyz (ID: 1573)
 * Importing…
 * Any insights?
 *  [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418550)
 * Any insight into this?
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418551)
 * Does this happen with any batch that you try to deploy? Can you have a look at
   the debug.log and see if there is any clues in there?
 *  [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418552)
 * [24-Sep-2015 16:12:08 UTC] PHP Fatal error: Class ‘DOMDocument’ not found in /
   var/www/html/wordpress/wp-content/plugins/content-staging/classes/listeners/class-
   delete-listener.php on line 238
 * Regular deployments seem to work OK.
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418553)
 * Thanks, that’s really helpful!
 * So the problem seems to be that the delete functionality relies on the class `
   DOMDocument` – part of the PHP DOM extension. Most likely you don’t have this
   extension in your PHP package, causing the fatal error.
 * I’ll get rid of the DOM extension dependency somehow. Created an issue for this:
 * [https://github.com/stenberg/content-staging/issues/76](https://github.com/stenberg/content-staging/issues/76)
 * For now I’ve moved the delete functionality to its own branch.
 *  Plugin Author [stenberg.me](https://wordpress.org/support/users/stenbergme/)
 * (@stenbergme)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418555)
 * Fixed and merged to the master branch.
 * [https://github.com/stenberg/content-staging](https://github.com/stenberg/content-staging)
 *  [bearstar](https://wordpress.org/support/users/bearstar/)
 * (@bearstar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418557)
 * Thanks, your updated did the trick. Much appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Delete Content?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/content-staging.svg)
 * [Content Staging](https://wordpress.org/plugins/content-staging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-staging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-staging/)
 * [Active Topics](https://wordpress.org/support/plugin/content-staging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-staging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-staging/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [bearstar](https://wordpress.org/support/users/bearstar/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/delete-content/#post-6418557)
 * Status: resolved