array( 'name' => 'thumb', 'title' => __('Thumbnail:', 'stallion'), 'type' => 'upload', 'desc' => 'Upload an image you wish to use as a Thumbnail on archive pages and/or Featured Slideshow Image. See the Stallion Layout options page for more settings. Stallion uses Timthumb 2 to crop and resize images for thumbnails. This means you can use very large images that Stallion will generate small images from saving bandwidth.' ), 'featured' => array( 'name' => 'featured', 'title' => __('Use in Featured Slideshow:', 'stallion'), 'type' => 'checkbox', 'desc' => 'Checking this box will add this post to the Featured Slideshow using the above image. It is recommended to use an image size appropriate for the Stallion Sidebar Layout selected under the Stallion Layout Options page

310px sidebar layouts - 660px by 300px
255px and 165px layouts - 550px by 300px
200px wide sidebars - 560px by 300px
No Sidebars layout - 970px by 300px.

Since Stallion uses Timthumb to zoom/crop images a 660px wide by 300px height will cover all settings except no sidebars.' ), ); $page_meta_boxes = array( 'thumb' => array( 'name' => 'thumb', 'title' => __('Thumbnail:', 'stallion'), 'type' => 'upload', 'desc' => 'Upload an image you wish to use as a Thumbnail on archive pages. See the Stallion Layout options page for more settings. Stallion uses Timthumb 2 to crop and resize images for thumbnails. This means you can use very large images that Stallion will generate small images from saving bandwidth.' ), ); add_action( 'admin_menu', 'st_create_meta_box' ); add_action( 'save_post', 'st_save_meta_data' ); /** * Function for adding meta boxes to the admin. * Separate the post and page meta boxes. */ function st_create_meta_box() { global $themename; add_meta_box( 'post-meta-boxes', __($themename.' Stallion Featured Thumbnail Options','stallion'), 'post_meta_boxes', 'post', 'normal', 'high' ); add_meta_box( 'page-meta-boxes', __($themename.' Stallion Featured Thumbnail Options','stallion'), 'page_meta_boxes', 'page', 'normal', 'high' ); } function st_post_meta_boxes() { global $post_meta_boxes; return apply_filters( 'st_post_meta_boxes', $post_meta_boxes ); } function st_page_meta_boxes() { global $page_meta_boxes; return apply_filters( 'st_page_meta_boxes', $page_meta_boxes ); } function post_meta_boxes() { global $post; $meta_boxes = st_post_meta_boxes(); ?> ID, $meta['name'], true ); if ( $meta['type'] == 'text' ) get_meta_text_input( $meta, $value ); elseif ( $meta['type'] == 'upload' ) get_meta_upload_input( $meta, $value ); elseif ( $meta['type'] == 'checkbox' ) get_meta_checkbox_input( $meta, $value ); elseif ( $meta['type'] == 'textarea' ) get_meta_textarea( $meta, $value ); elseif ( $meta['type'] == 'select' ) get_meta_select( $meta, $value ); endforeach; ?>
ID, $meta['name'], true ) ); if ( $meta['type'] == 'text' ) get_meta_text_input( $meta, $value ); elseif ( $meta['type'] == 'upload' ) get_meta_upload_input( $meta, $value ); elseif ( $meta['type'] == 'checkbox' ) get_meta_checkbox_input( $meta, $value ); elseif ( $meta['type'] == 'textarea' ) get_meta_textarea( $meta, $value ); elseif ( $meta['type'] == 'select' ) get_meta_select( $meta, $value ); endforeach; ?>
" id="" value="" size="30" tabindex="30" style="width: 97%;" /> */?>

" id="" value="" /> */?>

" id="" cols="60" rows="4" tabindex="30" style="width: 97%;"> */?>

/>