Title: Export / Import CPT
Last modified: August 21, 2016

---

# Export / Import CPT

 *  Resolved [raphaelsramos](https://wordpress.org/support/users/raphaelsramos/)
 * (@raphaelsramos)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/export-import-cpt/)
 * Team WebDevStudios,
 * I wonder if you have plans to implement the functionality to export / import 
   the CPTs, keeping its settings??
 * Otherwise, it would be possible to add this functionality to the next versions?
 * Sincerely,
 * Raphael Ramos
 * [http://wordpress.org/plugins/custom-post-type-ui/](http://wordpress.org/plugins/custom-post-type-ui/)

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

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [12 years, 7 months ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234135)
 * Import we don’t have right now, but definitely have it considered as a possible
   feature.
 * Export we do have, and it’s a part that got a lot of fixes with 0.8.1 today. 
   If you go to “Manage ___” in the CPT UI menu, you’ll see links for “Get Code”
   which should provide copy/paste-able php for your functions.php file. If this
   is still causing problems with quote balance and whatnot, please let me know 
   so I can get it debugged and fixed more.
 *  Thread Starter [raphaelsramos](https://wordpress.org/support/users/raphaelsramos/)
 * (@raphaelsramos)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234460)
 * Michel,
 * I try the feature ‘Get Code’ and it worked, but unfortunately you can not manage
   the CPT inside the WP admin doing this way.
 * I found the data saved in the options table (cpt_custom_post_types and cpt_custom_tax_types
   fields). Copying and pasting these fields directly via phpMyAdmin, the CPTs are
   functional and still managed via WP admin, what is the best option.
 * I’m checking out a way to export these options and import them again in the new
   site, and would be extremely grateful if this functionality was added in the 
   next release. Meanwhile, I’m copying and pasting directly via phpMyAdmin.
 * Sincerely,
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [12 years, 2 months ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234461)
 * Yeah, the Get Code stuff is meant to be used if migrating away from CPTUI for
   good.
 * If you’re looking for easy import/export in the current released version, then
   what you’re doing is the best we have until I get something else built in.
 *  [IntricatePixels](https://wordpress.org/support/users/intricatepixels/)
 * (@intricatepixels)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234463)
 * Michael, I think adding an import feature is really necessary for the plugin 
   to be fully operational for those of us that use several environment (local dev,
   staging and production). I think it would be a great addition for your next plugin
   update!
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [12 years, 1 month ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234464)
 * Well, the settings used with the plugin are just stored in the wp_options table,
   and the posts/taxonomies created using these settings are in their appropriate
   tables. Chances are you’re already migrating those tables anyway.
 * Regardless, I do have something in my dev branch that handles import/export, 
   the whole next version just isn’t at a done state yet.
 * Hopefully it’s well polished and awesome when it does come out.
 *  [jynk](https://wordpress.org/support/users/jynk/)
 * (@jynk)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234478)
 * A simple xml export would be ace. Even if it just used the built in wordpress
   options like we use for posts.
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 11 months ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234479)
 * What I have somewhere in a git repo, is a serialized data dump if I recall right,
   easy to copy/paste into another install that has CPTUI installed, and it’ll handle
   the saving to the right field on import.

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

The topic ‘Export / Import CPT’ 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

 * [cpt](https://wordpress.org/support/topic-tag/cpt/)
 * [export](https://wordpress.org/support/topic-tag/export/)
 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [ui](https://wordpress.org/support/topic-tag/ui/)

 * 7 replies
 * 4 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/export-import-cpt/#post-4234479)
 * Status: resolved