<?php | |
add_action('do_meta_boxes', 'be_rotator_image_metabox' ); | |
/** | |
* Move Featured Image Metabox on 'rotator' post type | |
* @author Bill Erickson | |
* @link http://www.billerickson.net/code/move-featured-image-metabox | |
*/ | |
function be_rotator_image_metabox() { | |
remove_meta_box( 'postimagediv', 'rotator', 'side' ); | |
add_meta_box('postimagediv', __('Custom Image'), 'post_thumbnail_meta_box', 'rotator', 'normal', 'high'); | |
} |