Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am working in a new project, and I just realized that in the page/post edit pages, I don´t have the option to set a featured image/ post thumbnail.

I have checked and Twenty Ten has thumbnails support by default ( add_theme_support( 'post-thumbnails' is in functions.php). I also tried setting the thumbnails size with set_post_thumbnail_size, but no luck.

Any ideas?

P.D: I installed this in a new server, is it possible that it has something to do with that? Are there any specific requirements to use post thumbnails?

share|improve this question
3  
maybe obvious question- have you made sure featured image is checked under the screen options tab? –  Milo May 17 '11 at 17:23
    
Yes Milo, I already did, but thanks –  0al0 May 18 '11 at 8:04

1 Answer 1

up vote 1 down vote accepted

The featured image meta box is enabled under following conditions:

if ( current_theme_supports( 'post-thumbnails', $post_type ) && post_type_supports( $post_type, 'thumbnail' )
    && ( ! is_multisite() || ( ( $mu_media_buttons = get_site_option( 'mu_media_buttons', array() ) ) && ! empty( $mu_media_buttons['image'] ) ) ) )
        add_meta_box('postimagediv', __('Featured Image'), 'post_thumbnail_meta_box', $post_type, 'side', 'low');

So check that:

  • nothing messes up theme's declaration of thumbnails support;
  • you are not using CPT with thumbnails support undeclared;
  • whatever that multisite-related stuff means, if you are using multisite (I do and I don't remember having to do anything specific for featured images).
share|improve this answer
    
Accepted the answer not not even a +1 –  Shen Xu Aug 9 '11 at 0:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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