Another call for help with WP (3.01)…
I’m using this tutorial to add meta boxes to custom post type edit page:
I have 4 custom post types so, in functions.php, I require_once one PHP file with functions for each of them. In each of those files I do the metaboxes like in the tut.
Everything is working great, except one custom field - whatever I do, it doesn’t save the data when publishing/updating a post
At first, I thought it was because naming (mnt_supteren) was similar to another one (mnt_sup), as in they both started with ‘sup’ - but I see that’s not it, since I’ve given them unique names and it persists…
I can only manually select a custom field key and add a value to it, without updating the page (won’t work like that).
Thing is, this is for a client and I don’t want him to use the custom fields box (he’d get lost with all those prefixes and stuff there…)
Measures I took:
- custom fields are not named the same
- I have no blank lines in functions.php or any of the files I require in it
Have you experienced custom fields not saving/updating?
Any help is greatly appreciated, this is driving me NUTS!