How to add featured images when a page is open in the WordPress admin

When a new WordPress installation is made. We will not see an option like this. To make that visible, we need to use certain code which is given below:

add_theme_support( 'post-thumbnails' );

We need to write the code in functions.php file.

Leave a comment

Your email address will not be published. Required fields are marked *