Support Forums

There is a new way to get support - via the support tab in your account.

Our support systems are changing, for the better. You'll be able to manage all your support requests from your account, and respond to any tickets via email.

These support forums are now closed - existing tickets will be closed after a month.

Forums Forums Search & Filter Pro Keyword search in titles only?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Yakub Erogul
    #265566

    I’ve added a Search field using this plugin on my WooCommerce site to allow users to do a keyword search, but it’s matching keywords in the product descriptions. I’d like to restrict it to the product titles only. Is that possible?

    Yakub Erogul
    #265567

    For clarity, here’s my form:

    form

    Trevor Moderator
    #265580

    Our plugin does not directly allow you to do text searches of individual Post Meta (custom fields) and Taxonomy (Category, Tags and Taxonomies) data/terms. The Search & Filter Pro Text Search field uses the standard WordPress search, so looks only in the Post Title and Content. To help you control this better, on the form’s Advanced settings tab you will see 2 settings for Relevanssi.

    The documentation for this is here:

    https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/

    You would need to install and activate the free Relevanssi plugin as well.

    Then set Relevanssi up and build its index (make sure it is indexing the desired post types, custom fields AND any taxonomy that you want to search).

    To restrict to Title only, please see this post:

    https://support.searchandfilter.com/forums/topic/search-and-filter-only-in-title/#post-93961

    Chris Martinich
    #276329

    Will a text search against post meta be available in a future release?

    Trevor Moderator
    #276331

    Please note that these support forums are now closed. If you require support, please raise a support ticket through Your Account.

    Post Meta (custom fields), as the previous post I made on this ticket says, can already be searched using the Relevanssi option.

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

You must be logged in to reply to this topic.