Get featured image from "List Posts" results
-
Hopefully this is pretty basic:
I’m using the following url to get some posts:
https://site.com/wp-json/wp/v2/posts?categories=59&per_page=5Works great.
The only problem is, I don’t see a way to get the featured image link without making another call.
There’s a featured_media property that gives me the id of the image but no link ??Is there any way to get that link without having to make two calls?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get featured image from "List Posts" results’ is closed to new replies.