set_post_thumbnail_size not cropping featured images, but reducing proportionally

Contrary to Pieter, I’d say your if statement is correct (although, unnecessary). If it’s a WordPress theme, then add_theme_support will likely exist!

Have you per chance added the images before setting the post thumbnail size? If so, you need to regenerate your images:

http://wordpress.org/plugins/regenerate-thumbnails/

Leave a Comment