We are all used to seeing an image below blog posts titles, be it on blog homepages or on individual posts. However, until recently, adding these images was not as straightforward. Before the ability to register post thumbnails in themes was introduced in WordPress 2.9, WordPress theme developers were forced to use the post metadata in order to display an image associated with a post. In this tutorial, I’ll show you how to add this functionality to your themes and we will play around with some of the function options.

Post-Thumbnail Function in WordPress 2.9

To show main source of content: