• Hi – cannot get post thumbnails working using WP 3.0 RC1 and twentyten theme. I have tried adding a line to loop.php as suggested in this article: http://nenuno.co.uk/creative/wordpress/adding-post-thumbnails-to-wordpress-3-0/

    The line is :
    <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(200,160), array("class" => "alignleft post_thumbnail")); } ?>

    I am assuming with twentyten theme we do not need to add post-thumnail support to functions?

    Can anyone help? Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • correct. Just wanna make sure you understand how the post thmbnails work in 2010…. as I didn’t at first.

    (I didn’t read the tutorial you linked to, this is just general info for the 2010 theme)

    The theme already is set up for the post thumbnails…I think it calls them featured images now….but it uses them in a specific way.

    Once you set a featured image, that becomes the header for the single view of that specific post, but only if it is wide enough. I think the width is 940px. If the image isn’t wide enough, it ain’t used. I ran across a bit of code to adjust yesterday that’ll allow you to use smaller images….which will then float right…. lemme see if I can find that again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Thumbnails in Twentyten theme not working?’ is closed to new replies.