Support » Alpha/Beta/RC » Post thumbnails-where do they appear?

  • I just downloaded the nightly build, 2.9. I created a post with an image and set the image as a thumbnail. Is the thumbnail now supposed to appear with the excerpt on the front page? On the archive page? Or is a bit of code needed in a core file for it to work?

    From Doug Campbell’s article:

    Post Thumbnails: add an image to be automatically displayed with the post in various views (main page, archives, etc.). The WordPress logo on this post is added with this feature, plus a filter I added to my theme’s functions.php file.

    I’m running Athualpa 3.4.4 theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • http://designora.com/tools/wordpress-tricks-oembed/

    In the template you can use the function the_post_image() to place the image anywhere you choose. Here is how to call the new function and the parameters for WordPress thumbnail image sizes.

    <?php the_post_image(); ?>

    the_post_image(); // without parameter = Thumbnail
    the_post_image(’thumbnail’); // Thumbnail
    the_post_image(’medium’); // Medium resolution

    pentool

    (@pentool)

    That’s all nice and interesting, but I’m running v2.9.2 and see no “Set Thumbnail” link in my post admin pages. What am I missing?

    Fredelig

    (@fredelig)

    To add support for post thumbnails (and get admin-UI), add the following to your functions.php:

    add_theme_support( ‘post-thumbnails’ );

    You can read a lot more that and some “size-tricks” in Marks post:

    New in WordPress 2.9: Post Thumbnail Images

    pentool

    (@pentool)

    Great, Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post thumbnails-where do they appear?’ is closed to new replies.