Forums Forums Search & Filter Pro Split: Search by custom fields

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #51757

    [Trevor split this thread from: https://support.searchandfilter.com/forums/topic/search-by-custom-fields/ where the OP said: I have custom fields on my site and can’t work out how to search by them … ]

    I have a similar issue. Is there is a documentation in how to resolve?

    Thanks

    Trevor
    #51799

    The question from the OP related to a conversation (voice) that we had, so I am not sure I have enough detail from you Simon. What are the custom fields, how did you make them (e.g. in ACF?) and what have you tried? Custom fields are Post Meta in form field objects.

    Anonymous
    #51820

    Hi Trevor,

    Thanks for your answer. Our custom fields have been created from My Content Management Plugin https://en-ca.wordpress.org/plugins/my-content-management/. We created a search (Search and Filter Pro) which is searching through a custom post type with custom post fields (My Content Management). If one search for a title you get results, but for example if you search for Ontario (which is value from the Province Custom Field), you do not get any result.

    Trevor
    #51822

    You are typing the word Ontario into the search field? The search field searches only the main content and title. To also index through custom fields you need to install relevanssi and enable support for this on our advanced tab, and in relevanssi tell it to index all custom fields.

    Anonymous
    #51825

    Awesome! It works!

    Thanks so much for your help.

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