Posted By

i-am-andy on 10/27/11


Tagged

php image wordpress box meta featured


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jbreitenbucher


Move and rename "Featured Image" box


 / Published in: CSS
 

URL: http://wordpress.org/support/topic/move-and-rename-featured-image-box

Changes the title and moves the featured image box in Wordpress admin area. Add this to functions.php

  1. //--------- Change the title and move the Featured Image box ------------
  2.  
  3. function customposttype_image_box() {
  4.  
  5. remove_meta_box('postimagediv', 'home-page-banners', 'side');
  6. remove_meta_box('postimagediv', 'page', 'side');
  7.  
  8. add_meta_box('postimagediv', __('Banner Image - The image that appears at the top of the page, size should be 760 x 155 pixels'), 'post_thumbnail_meta_box', 'page', 'normal', 'high');
  9. add_meta_box('postimagediv', __('Banner Image - 760 x 390 pixels - Bigger images will be cropped automatically.'), 'post_thumbnail_meta_box', 'home-page-banners', 'normal', 'high');
  10.  
  11. }
  12. add_action('do_meta_boxes', 'customposttype_image_box');

Report this snippet  

You need to login to post a comment.