Forums › Forums › Search & Filter Pro › Split: Search by custom fields
- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by
Anonymous.
-
Anonymous(Private) July 20, 2016 at 10:45 pm #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(Private) July 21, 2016 at 11:34 am #51799The 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(Private) July 21, 2016 at 2:46 pm #51820Hi 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(Private) July 21, 2016 at 3:08 pm #51822You 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
allcustom fields. -
AuthorPosts