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; ?>
' . __('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)); } ?>