No need to delete any of the content, just need to make sure when registering with CPTUI, you make sure your name fields matchup. For example if your post type is “movie”, you’d want the name field in CPTUI to also say “movie”, and so on. Same thing with taxonomies.
Content won’t need to be moved at all, as the way you’re doing it now isn’t storing information in any special way and CPTUI does the exact same, in that it doesn’t store in any special way.
Great answers. Thank you very much!
Hi. I have to yet to move forward on this, but I have one small question.
When creating these post types, where does it get stored? Right now I have my old code in functions.php and I want to know where in the file structure does CPT UI codes are stored at.
Thank you.
When you register a post type or taxonomy with CPTUI, the arguments get stored as an array of values in the options table. Then when it comes time to do the actual registering, we fetch the option and loop over that array, passing each part appropriately through register_post_type() or register_taxonomy().
So we register via code, but we store the intended settings via options.
In case curious what that looks like, you can check out https://github.com/WebDevStudios/custom-post-type-ui/blob/1.13.5/custom-post-type-ui.php#L335-L557 to see it all. Most particular would be the register_post_type() call on line 556.
Thank you. That makes sense.
I did finally get the old post types and taxonomies over and all is working well. The last question I have is how to sort the child links of the admin menu.
My parent and child as follows:
Brands
–All Brands
–Add New
–Occasions
–Store Type
–States
–Categories.
I want to be able to move Categories to be before Occasions.
Thank you.
That part I’m not sure about, as that’s not something that we have a hand in with CPTUI
Thank you. It’s not of high importance but it’s something I might like to do later. Since you don’t have that support, I will have to use PHP or a plugin that will reorder them. Again, thank you.