• visualsense

    (@visualsense)


    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?

Viewing 3 replies - 31 through 33 (of 33 total)
  • I had the same problem, no featured image option with Gutenberg. I managed to fix this, by rewriting stylesheet header from scratch in mytheme/style.css
    Looks like the order of fields is also important.

    My issue was solved by restoring style.css in theme root folder (I removed it before)

    I had the same Problem.
    After hours of scratching my head I found out, that the Templatename of my parent them was wrong written in the style.css of the child theme.
    After correcting it the featured image where shown correct in backend ?? yeah!
    So look very carefully for bugs in the child-theme-header of style.css

Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘Theme support for post-thumbnails stopped working after upgrading to WP 5.7’ is closed to new replies.