Include featured image in search results using cse_image:src as basis
cyberscribe opened this issue · comments
Robert Peake commented
Thumbnails are returned in the JSON replies but not incorporated into search results
Shah Shalin commented
The current approach is creating a list of WP_Post objects with negative post ID and returning that posts list array in the filter. As these search result posts are not stored in the DB we can't attach a featured image to it.