I have a loop that pulls the highlighted image from the post, I pull the image using get_the_post_thumbnail_url()
, I tried get_the_post_thumbnail_url('thumbnail')
but it gives error, I need to get the image in smaller size, only warning that get_the_post_thumbnail_url()
img comes in full size!