Adjust what excerpt gets displayed
-
Right now Algolia auto-creates a snippet excerpt on the main search page based on the keyword entered.
So each post will vary the excerpt snippet shown to better highlight the context of the keyword searched.
Is it possible to change the snippet to just pull a custom excerpt added regardless of keyword or hook in say your meta description from an SEO plugin to show that instead?
In theory, this seems possible. We would include the excerpt field or meta description into the index for reference and then pull that out on the instant search results page. I just don’t fully grasp how that instant search page collects its data and applies it to the page I think is the issue.
Or am I wrong and it just wouldn’t be possible?
- The topic ‘Adjust what excerpt gets displayed’ is closed to new replies.