Thursday, July 30, 2015

Wordpress- set featured image in normal position

//set featured image in normal  position   
add_action('do_meta_boxes', 'featured_image_move_meta_box');
function featured_image_move_meta_box(){
    remove_meta_box( 'postimagediv', 'post', 'side' );
    add_meta_box('postimagediv', __('Carousel Image'), 'post_thumbnail_meta_box', 'post', 'normal', 'high');
}

No comments :

Post a Comment