ID);
if (!empty($custom["feat_post"])){
$feat_post = $custom["feat_post"][0];
}else{
$feat_post='off';
}
?>
checked="checked" />
ID, "feat_post", $_POST["feat_post"]);
}else{
update_post_meta($post->ID, "feat_post", 'off');
}
}
/**********************/
/* Remove Title Page */
/********************/
add_action('admin_init', 'remove_title_page');
add_action('save_post', 'update_remove_title_page');
function remove_title_page(){
add_meta_box("page_details", __("More page options",'BillyDroid'), "page_options", "page", "side", "default");
}
function page_options(){
global $post;
if (empty($post))return;
$custom = get_post_custom($post->ID);
if (!empty($custom["remove_title_page"])){
$remove_title = $custom["remove_title_page"][0];
}else{
$remove_title='off';
}
if (!empty($custom["remove_box_content"])){
$removeBoxContent = $custom["remove_box_content"][0];
}else{
$removeBoxContent ='off';
}
?>
ID, "remove_title_page", $_POST["remove_title_page"]);
update_post_meta($post->ID, "remove_box_content", $_POST["remove_box_content"]);
}else{
update_post_meta($post->ID, "remove_title_page", 'off');
update_post_meta($post->ID, "remove_box_content", 'off');
}
}
?>