Back to the top

Add Thumbnails to Wordpress with Custom Fields

post_teaser
PUBLISHED ON

November 4th, 2008

TAGS

DISCUSS

No Comments

In this tutorial, I’ll show you how you can easily add thumbnails, lead image, and other extras to individual posts in Wordpress. These images can be shown on the front page, archives, search pages, etc – but appear outside of the content, giving you full control of their placement and style.

add_thumbnails

What Are Custom Fields?

If you’re reading through this article, there’s a possibility you’ve never heard of Custom Fields (or maybe you just haven’t seen a use for them yet). Essentially, all a Custom Field does is allow you to add extra pieces of data to individual Wordpress posts that otherwise aren’t there by default. In other words, along with things like the Post Title, Entry, and Categories, you could add:

  • * Thumbnail
  • * Lead Image
  • * Price (perhaps each of your posts is a product that you need a price label for)
  • * Source Link

Sure – but you COULD also just put those in the post… right?

Of course, but when you do that, you’re stuck with your default posting format and styling. What if you want to have a Thumbnail for your post, but instead of the thumbnail appearing inside of the post entry, you only want that thumbnail to appear on the front page of your blog – and using a completely different style than it would in your entry?

This is where Custom Fields come into play. They allow you to add as many additional fields as you like, all of which can be used anyway you want to use them.

Click here to view tutorial

Tell Us What You Think

Please leave your comment about this post on the comment section below. If you liked it tell your friends by tweeting it. You can also subscribe to our feed by rss or email.

Enjoy This Post?

About Nikola Lazarevic

Web Designer, Blogger, M.Sc in Electronic Engineering from Nis, Serbia. Founder of webexpedition18.com. You can find me on Twitter.

Comments are closed.