array( 'name' => 'featured_checkbox', 'description' => __('', 'blogspring'), 'label' => 'Feature on Home Page ', 'type' => 'checkbox' ) ); /** * Function for create meta box * @global string $key */ function blogspring_create_meta_box() { global $key; if (function_exists('add_meta_box')) { add_meta_box('checkbox-meta-boxes', __('Feature This Post', 'blogspring'), 'blogspring_checkbox_meta', 'post', 'normal', 'high'); } } /** * Function for creating * Checkbox meta box * @global type $post * @global array $checkbox_meta * @global string $key */ function blogspring_checkbox_meta() { global $post, $checkbox_meta, $key; ?>