array( "name" => "image", "title" => "Image", "description" => "Using the \"Add an Image\" button, upload an image and paste the URL here. Images will be resized. This is the Article's main image and will automatically be sized."), "tinyurl" => array( "name" => "tinyurl", "title" => "Tiny URL", "description" => "Add a small URL of this post that will be used to track tweets, and share the post.") ); function create_meta_box() { global $key; if( function_exists( 'add_meta_box' ) ) { add_meta_box( 'new-meta-boxes', ucfirst( $key ) . ' Custom Post Options', 'display_meta_box', 'post', 'normal', 'high' ); } } function display_meta_box() { global $post, $meta_boxes, $key; ?>
ID, $key, true); ?>