Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include featured image in search results using cse_image:src as basis #13

Open
cyberscribe opened this issue Jul 9, 2021 · 1 comment

Comments

@cyberscribe
Copy link

Thumbnails are returned in the JSON replies but not incorporated into search results

@SH4LIN
Copy link
Contributor

SH4LIN commented Dec 12, 2023

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.

CC: @joelabreo227 @dhawalepranav

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants