I understand that HivePress uses the excerpt field in Wordpress as a search snippet, and that if I mark an attribute as ‘indexable’ then it feeds through into this snippet.
I’d like to include Location in the search snippet, but even when I mark the Location attribute as indexable, it doesn’t feed through.
As I say, I have Location listed as an attribute, but I’m not 100% sure this is what HivePress is using or whether I added it and it’s actually unused.
I’m also using MapBox for geolocation, if that’s relevant.
The reason I want to add location is because the search snippet can pull through to Mailerlite, and I can then include it in weekly email roundups.
Thanks for your reply. I’m not using a snippet (apologies for not being clear about that), I’m referring to the ‘search snippet’ that you explain here: