Thumbnail images are not displaying by blog excerpts on my blog at http://richardclunan.com/blog/ -- I found some code that I think I might need to add to functions.php to make this happen, and if I do need to do this, I'd like to know where in functions.php I should add the code...

1 Answer
1

Post thumbnails are enabled in the twenty-eleven theme by default. If it's not working either you have a plugin conflict, or someone has edited the functions.php file. Here is the section of the twenty-eleven functions.php file that should enable the post thumbnails:

add_theme_support( 'post-thumbnails' );

The code needs to be inside the function twentyeleven_setup() function to work.

I think it's safe to say you don't have to use if ( function_exists( anymore. This was used for backwards compatibility, but shouldn't be an issue in current WordPress versions.
–
Jeremy JaredJan 29 '12 at 18:24