No searching suggestions
This support request was posted in Flatbase by bianqianwei
- bianqianwei October 23, 2014 at 7:35 am
I had an old wordpress site and purchased flatbase to theme it. When I input in the search box of index, I could get nothing suggested. After my adding an article in the “Articles”, I could get suggestion of the new article.
The question is : How could I get the suggestions from my old “Posts”?
My website is ” http://www.internetmedicine.cn “.
Thank you very much!Juanfra Aldasoro October 23, 2014 at 1:33 pmHi,
Thanks for writing. Unfortunately the suggestions are only for the knowledge base articles.
The function that defines which post types are included for the live search functionality can be found on the file /includes/functions.php – The name of the function is nice_clean_live_search();
There, you can modify the post types that are included. For example: https://gist.github.com/juanfraa/67d1c9de6fa8ccb01d44
Best,
Juan.bianqianwei October 24, 2014 at 2:01 amThanks, it works!
I have another question that, in the result page, how can I get the contextual paragraph with highlighted keywords. Just like google results.Juanfra Aldasoro October 24, 2014 at 12:47 pmNo problem.
Well, unfortunately that would be a customization because it is not implemented and it is not part of the theme. We don’t provide support on customizations.
Best,
Juan.
You must be logged in to reply to this topic.