diff -r 0d9a58d2c515 -r 0d28b7c10758 web/wp-content/themes/selecta/ocmx/custom.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/themes/selecta/ocmx/custom.php Fri Mar 12 13:29:04 2010 +0000 @@ -0,0 +1,163 @@ + array ( + "name" => "video_thumbnail", + "default" => "", + "label" => "Video Thumbnail url", + "desc" => "Add an image for use as a thumbnail for your videos in the Four-Block Widget and Archives", + "input_type" => "image", + "input_size" => "50", + "img_width" => "300", + "img_height" => "300" + ), + "media" => array ( + "name" => "other_media", + "default" => "", + "label" => "Main Image", + "desc" => "Select a header image to use for your post.", + "input_type" => "textarea", + "input_type" => "image", + "input_size" => "50", + "img_width" => "560", + "img_height" => "" + ), + "video" => array ( + "name" => "main_video", + "default" => "", + "label" => "Video Object", + "desc" => "Upload your video with the Add Video button above the WYSIWYG, and paste url here.", + "input_type" => "textarea" + ) + ); + +function create_meta_box_ui() { + global $post, $obox_meta; + $meta_count = 0; +?> + +ID,$metabox["name"],true); + + if ($obox_metabox_value == "" || !isset($obox_metabox_value)) : + $obox_metabox_value = $metabox['default']; + endif; ?> + + + + + + +
+ + + +
+ " id="" value="" size="" /> +

+ " /> +
+
+ +
+ + + + " id="" value="" size="" /> + +

+
+
+ + + \ No newline at end of file