2

I have a custom theme. I've deactivated every plugin. I can't get the Featured Image block on the right sidebar of editing a post to show up so that the user can set the featured image.

I have this in my functions.php file:

add_theme_support( 'post-thumbnails' );

Note that this worked fine before Wordpress 5 / Gutenberg update.

What am I missing?

  • Note that when I use the Classic Editor, it also doesn't work. Same issue. – RailsTweeter May 6 at 13:56
0

The function with the add_theme_support( 'post-thumbnails' ); wasn't being called for some reason. Once I fixed that, everything works now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.