Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    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

    (@raphaelsramos)

    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

    (@tw2113)

    The BenchPresser

    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.

    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

    (@tw2113)

    The BenchPresser

    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.

    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

    (@tw2113)

    The BenchPresser

    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.