Shouldn’t. What file did you put the exported code into? Sounds like they may not be getting registered at the moment.
I put the exported code in the theme’s functions.php file
Would you be willing to share the contents of your functions.php file for review sake?
https://pastebin.com/ or https://gist.github.com/ will help with that.
Curious what may be going on.
Hmm, not seeing anything out of place, and the two post types are showing up in the admin menu like expected in my local dev site.
Just throwing this guess out there, feel free to correct where I’m wrong.
Have you by chance left the CPTUI version in the saved post types and our UI, and by chance are the settings a little different from the exported version? Perhaps the “show UI” spot is set to false there? I’m wondering if you have almost the same settings being registered twice, with minor differences that remove it from the UI, and it’s that latter one that is being run last. It’s the last one that’s going to be utilized in this case.
My plan was to disable the plugin and simply add this code to the functions.php. When I do that (and clear cache), the link disappears in the Dashboard menu, even though the custom posts show up in the frontend.
Something else has to be going on somewhere to prevent this. I was able to get the two post types to show up in the side menu with no issue using the same paste as you. The question is what and where is causing it.