Skip to content

Instantly share code, notes, and snippets.

@jaredatch
Created February 17, 2012 03:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredatch/1850289 to your computer and use it in GitHub Desktop.
Save jaredatch/1850289 to your computer and use it in GitHub Desktop.
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');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment