I am trying to:
Show a featured image in search results
Link to a page where the issue can be seen:
(site not live yet)
I expected to see:
Featured image along with search result--all other post types are working.
Instead, I got:
Text results, minus featured image
Hello,
It is possible to use Views WordPress Archive to customize the wordpress built-in search result page, see our document:
https://toolset.com/documentation/user-guides/normal-vs-archive-views/
In below screenshot, you can choose option "Search results".
hidden link
Then in section "Loop Output", you can display the feature image with shortcode [wpv-post-featured-image]
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-featured-image
Ah! This is working great!
It wasn't obvious (to me, at least 🙂 that this could be used for search results.
I do have one additional related issue I'm not able to figure out:
The Relevanssi results shorten the Body text to the relevant area, and give em tags to the located search terms.
I did not suppress third-party filters, and I tried the Output "Inherit" option as well.
I searched through other fields, but did not find one for Relevanssi's output.
Is there a way to restore this?
Thank you!