Daya Web Logo

How to Add Featured Images to your WordPress Theme

Written by David Ugale
Published on 2/26/2021

If your WordPress dashboard is not displaying the Featured Image interface when adding or editing a post, your theme might not support the Featured Image function. To add the Featured Image function, you can edit your theme's functions.php file and add the following line:
functions.php
add_theme_support( 'post-thumbnails' );

For more information on the WordPress Featured Image function, see Featured Images & Post Thumbnails on the WordPress.org website.