How to Get the Post Thumbnail URL in WordPress


WordPress.org
Lynsey Colson

It’s worth to note that, if you upload a smaller image (let’s say, a 600px wide) and use this to fetch a specific larger image (let’s say, a 1920px wide for your cover), it will return the original image instead (which is smaller than what you need) instead of returning false.

Be the first to comment

Leave a Reply

Your email address will not be published.


*