Featured image option is not displaying in wordpress admin area

19,731

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')); 
Share:
19,731
user3595293
Author by

user3595293

Updated on June 24, 2022

Comments

  • user3595293
    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
    Mohib about 8 years
    i add this like on my function.php file but this doesn't make any difference
  • Humphrey
    Humphrey over 6 years
    worked for me i hope all people get it right with your answer
  • GµårÐïåñ
    GµårÐïåñ over 5 years
    when providing answers, provide more than just code, such as explanation of why and how this will resolve the problem.