I am developing a theme for a Soccer Team website.
For that I created a Custom Post Type called ‘player’.
For the player type only, I added some custom metaboxes to save the player height, weight, age, etc.
It was all working fine until today I went to the regular PAGES Edit Screen, and after I updated a page, the screen came back with all the custom metaboxes that should appear only on the Player Screen (and it was before).
Please somebody help me on how can I turn it back the way it was. I haven’t changed anything on my custom metabox declaration in functions.php
just in case I haven’t been clear before. The custom meta boxes appear only on my custom post type edit screen, until I update any PAGE. Then, they all show up in all the regular Pages editor.
I just removed all my custom creations, deleted all custom metas from the database, went back to admin and updated a page. Everything ok.
then I created back the custom types and boxes, went to admin and the boxes were showing only inside the custom post type, until I just updated any Page and all the metaboxes came back to the screen after the update.
I also updated a POST and the same thing happened, the custom boxes appeared just after the update 🙁