skip to Main Content

I just upgraded to WordPress 5.7 and I don’t see the option to add a post thumbnail any more.

I checked my functions.php and everything is still fine:

add_theme_support( 'post-thumbnails' );

I have tried all kind of stuff, but nothing that solves the problem, where it used to work perfectly before the upgrade.

I also tried:

function theme_setup(){
    /** post thumbnail **/
    add_theme_support( 'post-thumbnails' );
}
add_action('after_setup_theme','theme_setup');

Any ideas?

2

Answers


  1. Chosen as BEST ANSWER

  2. Feb 2022

    Make sure you have the index.php file exist.
    See my answer https://stackoverflow.com/a/71261080/5413283

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search