• Hi guys! I’ve spent the past few hours looking for a plugin that did this, and I’ve found a few but none really worked well so I was hoping you all might have some ideas. I’d like to set it up so that when I write a post I can assign a certain thumbnail image to that post. Then in my sidebar be able to display the thumbnails of say, the five most recent posts.

    Anyone know?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I’m wandering how to do the same thing. Dit you figure it out yet?
    Or has anybody else found it out/ knows how to do it?

    Vaughan

    (@vaughan-van-dyk)

    Hi,

    To me the easiest way to do this (without using a plugin) is using a custom value in your post where you specify the filename of the image to associate with the post (it could be the full path even).

    Then in your template you’d just need to use the get_post_custom_values tag and display that in an img tag.

    Several WordPress themes implement this functionality, for example: Arthemia.

    Hope that helps.
    Vaughan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Assign thumbnails to posts, and display thumbs in sidebar’ is closed to new replies.