Created
August 1, 2012 20:26
-
-
Save GreggFranklin/3230404 to your computer and use it in GitHub Desktop.
Move Featured Image Metabox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action('do_meta_boxes', 'gf_slider_image_metabox' ); | |
/** | |
* Move Featured Image Metabox on slider post type | |
*/ | |
function gf_slider_image_metabox() { | |
remove_meta_box( 'postimagediv', 'slider', 'side' ); | |
add_meta_box('postimagediv', __('Custom Image'), 'post_thumbnail_meta_box', 'slider', 'normal', 'high'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment