O'Reilly logo

Web Designer’s Guide to WordPress: Plan, Theme, Build, Launch by Jesse Friedman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14. Featured Images

We finally made it to the featured images chapter. There were several places in our theme that we just plopped in the the_post_thumbnail() function with no real direction, because I wanted to make sure you had a good foundation in theme development before we moved on to more advanced steps. Unfortunately, this means that we’re doing things a little backwards, but now you should have no problem understanding everything in this chapter.

What you’re about to learn

• How to register thumbnails for your theme

• How to creating multiple crop sizes

• The difference between hard and soft cropping

• How to display thumbnails by name in your theme

A Quick Recap

In previous chapters, we covered how to add theme support for post thumbnails ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required