Last active
August 29, 2015 14:27
-
-
Save developer-anuragsingh/ef81d7d547141657b58c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Change default position of 'featured image' meta-box | |
add_action('do_meta_boxes', 'relocate_featured_image_meta_box'); | |
function relocate_featured_image_meta_box(){ | |
remove_meta_box( 'postimagediv', 'YOUR_POST_TYPE', 'side' ); | |
add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', 'YOUR_POST_TYPE', 'normal', 'high'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment