Hi,
I love the big homepage search bar on the Flatbase theme but it doesn’t appear to index pages very well.
For example, if I have a page called ‘Top Automobiles’, neither of the following return that page:
What are the best automobiles? (Presumably because of the question mark on the end of the word)
What are the best cars? (There’s no way to add metadata about a page for search to see but users to not?)Could you please advise on a way to improve the search functionality? Potentially by stripping out special characters and running wildcard searches on all words?
Juanfra Aldasoro November 8, 2018 at 4:39 pmHello,
Thank you for writing. I hope you are doing well.
The live search is using the WordPress search functionality (it relies on that) and it’s limited to the article post type. If you want to add or change the post types to be searched (for example, you mentioned pages) you should add a script like this one:
Best,
Juan
You must be logged in to reply to this topic.