get_the_post_thumbnail_url with an unregistered size
WordPress does not create any thumbnail on the fly. If you try to fetch a size that doesn’t exist, either the closest size or the full size image will be retrieved. The closest solution you can try is to fetch a size larger than what you want, and then size it down via CSS and … Read more