I recently updated my website after a while, and the custom fields meta box is not showing in the editor anymore. It isn’t showing under “Screen Options” either. Any ideas why this could be, and how to get it back?
Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.
It turns out the latest Advanced Custom Fields update (from version 5.6.0 on) removes the core custom fields metaboxes by default.
The way to restore it was to add a filter in
When registering a custom post type you have to declare that it supports the custom fields meta box to get it, e.g.:
'supports' => array( 'title', 'editor', 'custom-fields' )
But most people don’t do this, and build real metaboxes instead. This way instead they can put in radio buttons and drop downs etc