No searching suggestions

This support request was posted in Flatbase by bianqianwei

Request ID #4752 In Progress
  • 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

    Hi,

    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.

    Thanks, 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.

    No 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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server