Support Forum
Hi,
Using :
Meta Box V5.4.7
Meta Box AIO V1.15.1
Wordpress V5.8.1
PHP 7.4
I have a custom fields group attached to a custom post type. At some point, I update my custom fields group to add new fields, and on update, the custom fields group disappears from my custom post.
Back to the custom fields group, in settings, I can see that the custom fields group changed by itself its location from my_custom_post_type to standard posts.
If I change location back to my_custom_post_type and update, it is still back by itself to standard post. => impossible to change location to something else than standard post.
If I generate the php code, the generated code doesn't include the location (ie 'post_types' => ['my_custom_post_type']).
If I add 'post_types' => ['my_custom_post_type'] to the generated code and insert it in functions.php, then I get my custom fields back on my custom post.
But it is stil impossible to update my custom fields group to the correct location from the dashboard.
Can you please help understand what goes wrong and how to fix that ?
Thanks,
Cédric