Featured image option is not displaying in wordpress admin area
Solution 1
Add this code to the functions.php file of your theme:
// This theme uses post thumbnails
add_theme_support( 'post-thumbnails' );
Solution 2
If you getting this type of issue again please goto wp-admin->add new post-> screen options. At the top of your page you see this screen option open it and check the value featured image if not checked. Now you see the option of featured image in your post page admin side.
Solution 3
Try This code inside functions.php file. This code will allow you to enable the featured image functionality inside pages. You can also pass custom post type name like ('page','post','custom_post_type_slug'). Hope this will help.
add_theme_support( 'post-thumbnails',array('page'));
user3595293
Updated on June 24, 2022Comments
-
user3595293 almost 2 years
Featured image option is not displaying in wordpress admin area
I am very new in wordpress. I have a wordpress site and now i need to add a featured image in my post. But i am not getting this option in back end. I don't know what is wrong. somebody please help me.Thanks
-
Mohib about 8 yearsi add this like on my function.php file but this doesn't make any difference
-
Humphrey over 6 yearsworked for me i hope all people get it right with your answer
-
GµårÐïåñ over 5 yearswhen providing answers, provide more than just code, such as explanation of why and how this will resolve the problem.