Categorized | Tutorials

Add Support For Post Thumbnail Images

This function was originally powered by WordPress 2.9, I thought that I include it here in case someone missed.

Many Style Magazine and news paper style WordPress themes using a thumbnail image on the homepage. Major themes used custom fields to get this done. From 2.9, WordPress allows you to upload an image and set it as the thumbnail post, only if the item being supported.

To enable this, add the following to the functions.php of your theme:

add_theme_support( 'post-thumbnails' );

The image uploaded as Featured Image can be called using:

<?php the_post_thumbnail(); ?>

Once you enable this, you can set the Featured Image or the Thumbnail image for the post using a widget (that will then appear) in the post editor right sidebar, below categories and post tags.

Source: For more details and options on Enabling Post Thumbnail Images, check here.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. Fun With RSS in WordPress – Post For Your RSS Readers Only
  2. Post “Shorts Posts” with the Sideblog Plugin
  3. WordPress Plugins – SEO Friendly Images, FeedSnap, WP Cumulus
  4. Inventive ways to customize the images using WordPress
  5. Using Imagination for Images

0 Comments For This Post

1 Trackbacks For This Post

  1. Add Support For Post Thumbnail Images | AddaZ ...::: Share Latest Things :::... Says:

    [...] WPThemesPlugin.com [...]

Leave a Reply

Categories

-->