Post meta not updating
-
The theme I use places a meta box on my regular wp post and custom post type’s post edit screen. I use this to turn a sidebar on or off on individual posts, among other functions.
When I change this setting it’s not saving when I update the draft or published post. For regular wp posts there’s no problem, I can change this sidebar setting around and it updates.
Could it be something to do with the ‘Settings’ for the post type under CPT UI? When I set up my custom post type, I have not manually inserted anything in the fields for the following:
REST API base slug
REST API controller class
Has Archive (i.e. I did not enter a ‘Slug to be used for archive URL’)
Capability Type*
Custom Rewrite Slug
Custom Query Var Slug
Show in Menu (i.e. I did not enter a ‘The top-level admin menu page file name for which the post type should be in the sub menu of’)*Capability Type has the default of ‘post’ only.
I have checked ON all the ‘Support’ checkboxes. No ‘Custom Supports’ has been inserted by me. Also have not checked ON any taxonomies yet for it.
I am currently attempting to resolve with my theme provider also. The problem is occurring in another separate custom post type I have registered for testing in the functions file too.
thanks,
- The topic ‘Post meta not updating’ is closed to new replies.