1

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 <img>. Could it be done by preventing Wordpress from removing tags? Or is there a faster way? Or maybe an existing plugin?

Thanks in advance,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.