Add or Change Content in the Featured Image Meta Box - Wordpress


/ Published in: PHP
Save to your folder(s)

Add or Change Content in the Featured Image Meta Box
Posted on March 21, 2011

Perhaps you need to provide a little extra instruction about the Featured Image meta box. It doesn’t take much to add your own text to that box:


Copy this code and paste it in your HTML
  1. add_filter( 'admin_post_thumbnail_html', 'add_featured_image_instruction');
  2. function add_featured_image_instruction( $content ) {
  3. return $content .= '<p>The Featured Image is an image that is chosen as the representative image for Posts or Pages. Click the link above to add or change the image for this post. </p>';
  4. }

URL: http://wpglee.com/2011/03/add-or-change-content-in-the-featured-image-meta-box/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.