• Last week, I modified my custom theme (based on TwentyEleven) to show/support featured images and worked ok. After adding add_theme_support( ‘post-thumbnails’ ); to the functions.php file, I could see the feature image section when I click to edit any post.

    I’m using MU and I already checked the upload image option. I currently can upload any images and add them to my posts. It’s just that the ‘featured image’ section within the edit page panel is not appearing anymore.

    Today when I tried to edit or create any new post, i don’t see the box anymore withing the edit option. I haven’t changed anything during the weekend(update site or plugins) so why is not showing anymore.

    Any help would be appreciated. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter yeseniagn

    (@yeseniagn)

    I just did a debug of these values (used to decide to show the box within the edit page) and they return

    current_theme_supports( ‘post-thumbnails’, $post_type ) – returns EMPTY
    post_type_supports( $post_type, ‘thumbnail’ ) – returns 1

    I don’t understand why the first one is showing empty. I have the following line within the function twentyeleven_setup() on the functions.php file on my custom theme folder

    add_theme_support( ‘post-thumbnails’ );

    What else should I be looking for? Can I just edit the edit-form-advanced.php to always show this box? I know I will have to edit that file every time I upgrade but I don’t know what else to do. I already tried deactivating all plugins but the box didn’t show. I had to activate all plugins again.

    Thread Starter yeseniagn

    (@yeseniagn)

    I hardcoded the edit-form-advanced.php to always show the featured image box but now when I select the image and click ‘set as featured image’ nothing happens.
    What is missing now?

    Thread Starter yeseniagn

    (@yeseniagn)

    I disabled all plugins (except the ones needed for MU) and the featured box still doesn’t work.

    Does anybody knows about a conflict with MU? how was working before and now it’s not working?

    Any help would be appreciated!

    Thread Starter yeseniagn

    (@yeseniagn)

    It seems there were the three boxes under network admin -> dashboard -> settings -> upload settings However, those boxes don’t exist anymore. I don’t see a place where I can check or enable image uploads. That is already enabled by default.

    I have no clue on what else to check to make this work. Help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Theme: twentyeleven based] Featured Image not showing when Editing Post’ is closed to new replies.