0
I have a loop that pulls the highlighted image of the post, I pull the image using get_the_post_thumbnail_url(), tried get_the_post_thumbnail_url('thumbnail') but gives error, I need to get the image in smaller size, just warning that this way works get_the_post_thumbnail_url() but the img comes in large size!
try without this
get, just try tothe_post_thumbnail_url( 'thumbnail' )– Pedro Henrique Kuzminskas
@Pedrohenriquekuzminskas so it pulls the img in thumbnail size but gets out of the array I pull the img...
– Alan PS
then do so
the_post_thumbnail_url( array(100, 100) );, values of "100" Choose size.– Pedro Henrique Kuzminskas
no, the array is to create a json with the data I pull from wp...
– Alan PS