Move Featured Image Metabox

<?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');
}
view raw gistfile1.aw hosted with ❤ by GitHub

Bill Erickson

Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.

About Me
Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk