Forums › Forums › Search & Filter Pro › General Advice neede
- This topic has 6 replies, 2 voices, and was last updated 8 years ago by
Anonymous.
-
Anonymous(Private) March 21, 2018 at 2:24 pm #167359
Hi,
I’m using Search and Filter on a Custom Post Type “cards” using Custom Fields (such as “Author”, “Year”, “Color”).
1. How do I organize a field that contains color (e.g. red, blue, yellow) to hold not only one but several values, e.g. a card can be red and yellow?
2. How do I search not only through the main content of a CPT but also through certain custom fields, e.g. Author, Year but not color?
I know these are pretty basic questions, and I’m grateful if you could direct me to the according documentation…
Trevor(Private) March 21, 2018 at 5:32 pm #167445The search field behaves in the same way as a normal WordPress search. If you want it to be different (and this will affect all text searches on your site, not just in Search & Filter) install the free Relevanssi plugin and set that up to search what you want (you can specify individual custom fields).
I am not sure how much you can exclude from the search, or whatever settings it has. The guide is here:
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/
-
AuthorPosts