We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your enhancement related to a problem? Please describe.
Although it is currently possible to change the autosuggest output, we don't have that properly documented.
Describe the solution you'd like An addition to the Theme Integration page seems the best place to explain how to use the window.epAutosuggestItemHTMLFilter function.
An example I've recently shared that can serve as a starting point:
window.epAutosuggestItemHTMLFilter = function(itemHTML, doc, i, value) { return '<li><a href="' + doc._source.permalink + '"><img src="' + doc._source.thumbnail.src + '">' + doc._source.post_title + '</a></li>'; }
The text was updated successfully, but these errors were encountered:
I'll look into this and will add documentation on how to use it properly.
Sorry, something went wrong.
felipeelia
brandwaffle
Successfully merging a pull request may close this issue.
Is your enhancement related to a problem? Please describe.
Although it is currently possible to change the autosuggest output, we don't have that properly documented.
Describe the solution you'd like
An addition to the Theme Integration page seems the best place to explain how to use the window.epAutosuggestItemHTMLFilter function.
An example I've recently shared that can serve as a starting point:
The text was updated successfully, but these errors were encountered: