Return to Snippet

Revision: 53598
at November 29, 2011 08:35 by f6design


Initial Code
add_action('do_meta_boxes', 'customposttype_image_box');

function customposttype_image_box() {

	remove_meta_box( 'postimagediv', 'customposttype', 'side' );

	add_meta_box('postimagediv', __('Custom Image'), 'post_thumbnail_meta_box', 'customposttype', 'normal', 'high');

}

Initial URL

                                

Initial Description
Add this to your Wordpress theme's functions.php file. It allows you to move the 'featured image' upload/select box from the admin sidebar to another position on the page, to give it more prominence.

Initial Title
Change position of featured image box in Wordpress

Initial Tags
wordpress

Initial Language
PHP