array( 'name' => 'video_url', 'type' => 'textarea', 'title' => __('Embed Video', 'blackwell'), 'description' => __('Enter the video Embed Only', 'blackwell') ), ); /** * Function for create meta box * @global string $key */ function blackwell_create_meta_box() { global $key; if (function_exists('add_meta_box')) add_meta_box('meta-boxes', __('Enter video Embed Code For Blog Post Thumbnail', 'blackwell'), 'blackwell_meta_box', 'post', 'normal', 'high'); } /** * Function for creating UI Meta box * @global type $post * @global array $meta_boxes * @global string $key */ function blackwell_meta_box() { global $post, $meta_boxes, $key; ?>
ID, $meta_box['name'], true); ?>
post_status <> 'publish') : echo '

' . __('Post is not yet published', 'blackwell') . '

'; else : $date = $data; if (!$data) { // Date is 30 days after publish date (this is for backwards compatibility) $date = strtotime('+30 day', strtotime($post->post_date)); } ?>
@:
ID, $meta_box["name"], true); if ($metaboxvalue == "" || !isset($metaboxvalue)) { $metaboxvalue = $meta_box['default']; } ?>

' . __('Click on "Set Address on Map" and then you can also drag pinpoint to locate the correct address', 'gc') . '

'; echo "
"; break; case "textarea" : ?> ID, $meta_box["name"], true); if ($meta_box['type'] == 'geo_map_input') { if ($defaultvalue == "" || !isset($defaultvalue)) { $defaultvalue = $meta_box['default']; } } else { $defaultvalue = htmlspecialchars($data); } ?> name="" value="" />