View Single Post
Old 05-01-2011, 02:18 PM  
Nicky
Too lazy to set a custom title
 
Nicky's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Sweden
Posts: 30,071
Quote:
Originally Posted by harvey View Post
I never used the twenty ten theme so I really don't know what featured image are you talking about, but I did some research and it seems it's a fucking mess, quite unexpected since you would expect a flawless theme. Anyway, just do this:

Code:
if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
	add_theme_support( 'post-thumbnails' );
	set_post_thumbnail_size( 150, 150, true ); // Normal post thumbnails
	add_image_size( 'myfeatured', 300, 168 ); // Permalink thumbnail size
}
and then in your theme's single.php and index.php (ie under the title of the post)

Code:
<?php the_post_thumbnail('myfeatured'); ?>
This did not work. This is driving me crazy
__________________

gfynicky @ gmail.com
Nicky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote