Enable Post Thumbnails in Your WordPress Theme
If you want to have post thumbnails appear on your homepage, it’s very easy to add this to your WordPress theme ever since 2.9.
Just open functions.php and add:
add_theme_support( 'post-thumbnails' );
Then within your homepage template add the following tag:
<?php the_post_thumbnail(); ?>
Now you’ll be able to set the Featured Image or the Thumbnail Image for the post. The settings for this are in a widget that will appear in the right sidebar of the post editor just below categories and tags.
More information about how to use post thumbnails and adjust their default sizes can be found at Mark Jaquith’s tutorial on the subject.Tags: