admin管理员组

文章数量:1130349

We have a series of posts some do not have a defined thumbnail size (i.e. "small-featured"). Right now with the_post_thumbnail() if WordPress can not find that size it replaces it with the original size in a listing page we created.

Is it possible to request that if that exact size does not exist don't display an image instead of forcing a massive original image?

Thanks.

We have a series of posts some do not have a defined thumbnail size (i.e. "small-featured"). Right now with the_post_thumbnail() if WordPress can not find that size it replaces it with the original size in a listing page we created.

Is it possible to request that if that exact size does not exist don't display an image instead of forcing a massive original image?

Thanks.

本文标签: Using thepostthumbnail do not rollback to original image if specified thumbnail does not exist