Occasionally you may need to display featured images in sizes other than WordPress’ default thumbnail, medium and large sizes. That’s quite easily solved with the add_image_size() and the_post_thumbnail() functions. Unfortunately, there are still 2 problems to be solved: Some posts may not have images at all, or the author forgets to attach a featured image Previous…




I'm David a.k.a. the blogjunkie.