Can auto-suggest show post titles rather than keywords, like a live-search?

  • pseudo visitor
    Participant
    # 9 months, 3 weeks ago

    For example I have a post type which only contains the title field. I would like the search to only suggest full titles.

    For instance if I have a post type with title “Ways to clean your car”, when the user types “car” I want the auto suggest to show the full title.

    wpsolr
    Keymaster
    # 9 months, 3 weeks ago

    Yes.

    Please select “Suggest products” in screen 2.1;
    Settings suggest products

    This will perform a search in the auto-suggestions, and show titles + content, instead of keywords.

    You can hide the content then with some css.

    For WooCommerce users: if you activate the Yith Woocommerce Ajax Search extension, you will get a better control of how your products suggestions are displayed.
    Yith Ajax search extension

     

    • This reply was modified 9 months, 3 weeks ago by  wpsolr.
    • This reply was modified 9 months, 3 weeks ago by  wpsolr.
    • This reply was modified 5 days, 8 hours ago by  wpsolr. Reason: https
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.