I recently had a client who needed some customizations to how the WordPress admin area displayed the input areas. One of these necessary requirements was to have the Featured Image meta box moved to the top of the page, first thing after content entry. It’s some very simple code to add in your functions.php file of your child theme.

//Move Featured Image box //
add_action('do_meta_boxes', 'custom_post_type_image_metabox' );
function custom_post_type_image_metabox() {
	remove_meta_box( 'postimagediv', 'custom_post_type', 'side' );
	add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', 'custom_post_type', 'side', 'high');
}

Note that where it says “custom_post_type” you need to replace those words with your custom post type.

Was this useful to you? Do you have another way of doing it? I would love to hear about it.

thePixelPixie.com - WordPress boutique

Subscribe and receive my FREE eBook


4 MISTAKES You’re Making on Your Website that are Costing You MONEY!

  • This field is for validation purposes and should be left unchanged.

The Author

Save

Like thePixelPixie on Facebook

Leave a Reply

Your email address will not be published.

Ready to chat about how ThePixelPixie can help?