Hi,
This is my fist post and it is the first time I have investigated wordpress and actually PHP as well so there is probably a variety of things that I am probably overlooking.
Basically I've created some custom fields in a meta-box for a custom type. It all works great except for one thing. When I publish the data and then view the custom post the data displays but if I leave the 'edit post' screen open for say around a minute it appears to clear all the data that was stored in the custom fields. So if I refresh the post all the custom field data is wiped, left with nothing.
The problem only appears to happen when I leave the 'edit post' screen open. I'm not sure if it makes a request each minute or if it wipes it. I was hoping that someone may be able to shed some light on the topic. If I close the 'edit post' screen the actual post is fine and the data is always displayed.
The strange thing is any content that is in the WYSWIG box remains in tact so I guess I am probably doing something incorrect somewhere.
I followed this tutorial so my code is pretty similar to what is on here: http://thinkvitamin.com/code/create-your-first-wordpress-custom-post-type/
If you would like me to post actual code I can but hopefully it isn't necessary since i hope it's something that hasn't been brought to my attention.
cheers,
Brenton