Hi folks,
I'm experiencing some odd behaviour from the custom field data in a custom post type I've created.
I've asked for help on the IRC channel so if a solution is found there before it is here I'll post it for anyone else who might run into this scenario.
Basically I've set up a custom post type and added some meta data fields to the add/edit page for that post type.
To begin with, I add a new post to it and it appears to keep the data.
I reload the page (not resubmitting, just hitting return in the address bar) and the data is still there.
I load up the front end of the site and the data appears where i want it.
So far so good.
I then go to the list of posts in the backend, click on the post I made and notice that the fields are now empty or back to their default value.
Has anybody experienced anything like this before?
You can view the code I've used to create the custom field and add the meta data boxes to the page here.
If anybody can help it'd be great because I'm stumped!
Cheers,
Robert