7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial
  1. Code
  2. WordPress

Quick Tip: How to Use the New "Post-Thumbnail" Feature in WordPress 2.9

Scroll to top
Read Time: 1 min

Up until the release of WordPress 2.9, setting up "post-image" support for your blog was a bit more tedious a task than it really needed to be. Luckily, that's no longer an issue. I'll show you how to get setup in this four minute video quick tip.

Step 1. Edit your Functions.php Page

Step 2. Insert the Image Tag into your Loop

Within the "if have_posts()" loop, simply place this piece of code anywhere you like. At that point, WordPress will insert an image tag onto the page accordingly. Please note that you'll have access to a "wp-post-image" class that you may then work with to format/style the image.

Did you find this post useful?
Want a weekly email summary?
Subscribe below and we’ll send you a weekly email summary of all new Code tutorials. Never miss out on learning about the next big thing.
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.