I’m using WP Rest API to retrieve post information to display on another system. One of the things I’m retrieving is the excerpts of the posts.
I’d like to include images in the excerpt retrieved. How would you suggest this is done? I’m assuming WordPress strips out elements within tags such as . Could it be done by preventing WordPress from removing tags? Or is there a faster way? Or maybe an existing plugin?
Thanks in advance,
Read more here: Include image in excerpt