Title: Delete Plugin &#8211; Posts Disappear
Last modified: January 5, 2019

---

# Delete Plugin – Posts Disappear

 *  Resolved [vices](https://wordpress.org/support/users/vices/)
 * (@vices)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/)
 * Greetings,
 * I’ve been scouring these posts and google for hours. I like the plugin, but it
   doesnt play nice with x-theme.
 * Decided to move all the posts to the “posts” category. Couldn’t figure it out.
 * Long store short, I want to delete this plugin, but when I do I cant find the
   posts. Not even in the mysql database. I only see the x-theme demo posts there.
 * Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdelete-plugin-posts-disappear%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11055793)
 * I’m legitimately curious about what ways it doesn’t play nice, because at a technical
   level, CPTUI only registers the content types for use. It’s up to the site owner
   and the theme they’re using to do anything with the types after.
 * If a theme has a bunch of fancy metaboxes and settings options for posts/pages
   that the user may want to have for a post type as well, it’s up to the theme 
   to provide a way to integrate with those post types. On our side, we’re not going
   to be aware of how to get that integration added.
 * If you moved all the posts you created with a CPTUI registered post type, to 
   the “post” post type, then you haven’t lost the data and content by any means,
   it’s just not under that previous custom post type slug. That said, I also don’t
   know how exactly you performed the move for the content, so I can only assume
   it’s still there instead of lost somehow, intended or no.
 * At the end of this post, it sounds like you primarily want to get rid of CPTUI
   and the content you created with it, correct?
 *  Thread Starter [vices](https://wordpress.org/support/users/vices/)
 * (@vices)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11055799)
 * Yes, I just want to get rid of it. Categories does fine for me. The previous 
   developer implemented it and did a terrible job too with another “custom” theme.
 * Basically most of my day has been spent trying to figure it out. I like to keep
   things simple, especially since it makes it easy for clients. Please take no 
   offense.
 * I tried adding the code to the functions.php but to no avail. I messed up the
   file and couldn’t restore so I blew up the whole site and did a full restore.
 * What I would like is to know where do the posts go when I delete the plugin? 
   I even migrated the tax to the same name category.
 * The category says there are 29 posts, but when I click the number, nothing is
   there.
 * Thoughts?
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11056101)
 * We very intently do absolutely nothing with created content when deleting the
   plugin. Someone should be able to delete CPTUI from their site, and re-register
   the exact same post type slug on their own some other way, and be right back 
   at where they were at. Full admittance, we don’t even delete our 2 option rows
   in the wp_options table, despite part of me thinking we should. It’s a mix of“
   we use 2 options total, which is a blip” vs “full cleanup!”
 * Zero offense taken with moving away from CPTUI either. We actively help with 
   our tools section, if the decision is reached.
 *  Thread Starter [vices](https://wordpress.org/support/users/vices/)
 * (@vices)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11056621)
 * Can you please explain to me a little more thoroughly how I can “re-register 
   the exact same post slug on their own in some other way..”
 * I am at wits end. I would like to move forward with this project.
 *  Thread Starter [vices](https://wordpress.org/support/users/vices/)
 * (@vices)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11056629)
 * Excuse the double post. What is supposed to happen when you delete the plugin?
   All the previous posts go back to the posts section?
 * They disappear when I deactivate your plugin, but come right back when I activate(
   of course in their predetermined tax).
 * How can I move the posts from the tax to the original posts section?
 *  Thread Starter [vices](https://wordpress.org/support/users/vices/)
 * (@vices)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11056748)
 * Never mind, used plug-in “post switcher”. Then deleted plugin.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11058195)
 * Regarding re-registering, just go back through the same process of registering
   like you did at the start with CPTUI, or using a tutorial from somewhere where
   you provide the code yourself. The key part would be using the same slug for 
   the post type slug field.
 * When you delete the plugin without touching any posts made for a given post type,
   the post type simply stops getting registered and made available to use. The 
   content in the database stays exactly as you had it. As I mentioned previously,
   we don’t touch the content at all when deleting the plugin. They remain in the
   database, but “inaccessible” because their post type isn’t getting registered.
 * Yes, using the Post Type Switcher plugin from JJJ is definitely a good one to
   use for this task. Simple and well done plugin.
 * All the best wishes for yourself and the site in the future.

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

The topic ‘Delete Plugin – Posts Disappear’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

 * [delete plugin](https://wordpress.org/support/topic-tag/delete-plugin/)

 * 7 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/delete-plugin-posts-disappear/#post-11058195)
 * Status: resolved