-1

I'm new to Wordpress and I'm trying to create a new theme for it. I've downloaded the latest version (3.2.1) and installed it successfuly. But when I install my wordpress theme (to start to add the PHP) and try to create a new post, what happens is that the Set Featured Image box disappears and it only shows again when I return to the default theme.

Any suggestions for this? Thank you

migrated from stackoverflow.com Sep 24 '11 at 3:54

This question came from our site for professional and enthusiast programmers.

3

What is happening is that your theme does not have support for featured image. What you need to do is add in the functions.php file of your theme the line :

if (function_exists('add_theme_support')) {                     
    add_theme_support( 'post-thumbnails' ); 
}

and then you will be able to use featured image in your theme

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.