Wondering how to add descriptions or hints for the featured image upload section at WordPress posts edit screen? If you want a clean wordpress dashboard with no unwanted images being uploaded as featured image, then this tutorial is definitely for you.

Statistics show that it is very useful to show some kind of helpful texts at the featured image upload section for the post editors. For example, the front end of the site is using a specific dimension of the featured image. And you want the post editors to upload an image that matches the same image dimension or same dimension ratio.

But the problem is, how does a post editor know about the specific image dimension? Also, there can be multiple post editors for your site.

There is an easy solution and you can add any description or helpful texts as you want at the featured image upload section. All you have to do is just copy and paste the below code in your theme’s funstions.php file.

/**
 * Add featured image help text on classic editor.
 */
function cdxn_featured_image_hint( $html ) {
	// description for the pages
	if ( 'page' === get_post_type() ) {
		$html .= '

Please upload featured image for this page here. Recommended image size is:
1170X650 px.

'; } //description for the posts if ( 'post' === get_post_type() ) { $html .= '

Please upload featured image for this post here. Recommended image size is:
800X500 px.

'; } return $html; } add_filter( 'admin_post_thumbnail_html', 'cdxn_featured_image_hint' );

Don’t forget to replace the helpful texts as per your own texts.

Note: This is applicable for the classic editor only and doesn’t applicable for the Gutenberg editor.

All done. From now on, anyone who uploads a featured image for your site will be given these helpful texts at the bottom of their Featured Image Upload section!

Here is a sample output:

We hope you found this tutorial to be interesting and informative. If you would like, visit our other blog posts from here that are related to WordPress dashborad.

Thank you