Add HTML to feature image metabox

Sparkling Review - slider

Adding this snippet to the functions.php will let you add HTML to the featured image metabox. This could be use to add extra information for your clients on how to use this feature.

add_filter( 'admin_post_thumbnail_html', 'add_featured_image_html');
function add_featured_image_html( $html ) {
    return $html .= '<p>This is some sample text that can be displayed within the feature image box.</p>';

Comments  Leave a Reply

  1. hi. do you know how to set this for individual custom post types?

    1. You could use something like this:

      if(‘custom_post_type’ == get_post_type()) {

      return $html .= ‘Description’;


Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!