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

  • pseudo visitor
    # 1 year 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.

    # 1 year ago


    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 1 year ago by  wpsolr.
    • This reply was modified 1 year ago by  wpsolr.
    • This reply was modified 3 months ago by  wpsolr. Reason: https
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.