Hi. I want to make a custom search with custom fields. I have 3 questions for that.
1) How can I get all options of a multiselect field, in order to add that into my search form?
2) Inside search.php how can I get posts with certain field values?
3) I am not sure if that is possible, but anyway. Can I get all values of a text field that were inserted in posts? For example, I have "Color" text field, and in different posts some values were inserted - red, blue, black etc. Can I get those values while building the search form?
I will apreciate any help.