Forums

Post thumbnails-where do they appear? (2 posts)

  1. paulaeisenberg
    Member
    Posted 1 month ago #

    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.

  2. chasix
    Member
    Posted 3 weeks ago #

    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

Reply

You must log in to post.

About this Topic