August 2012
Beginner to intermediate
288 pages
5h 56m
English
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
In previous chapters, we covered how to add theme support for post thumbnails ...