I'm using a custom field to display images in a slider on each post, but when I update the post after having entered the HTML code in the custom field, the code disappears. I'm assuming that there is some kind of filter that removes HTML code from custom fields when a post is saved. Is there a way to circumvent that without using a plugin?
Thanks!
Edit: The information is saved using the following code:
function save_details(){
global $post;
update_post_meta($post->ID, "ptime", $_POST["ptime"]);
update_post_meta($post->ID, "services", $_POST["services"]);
update_post_meta($post->ID, "tools", $_POST["tools"]);
update_post_meta($post->ID, "url", $_POST["url"]);
update_post_meta($post->ID, "images", $_POST["images"]);
}
You can find the complete functions.php code here (Pastebin).