Forums › Forums › Search & Filter Pro › Searchbox into acf
- This topic has 14 replies, 2 voices, and was last updated 10 years, 8 months ago by
Ross.
-
Anonymous(Private) February 26, 2016 at 10:55 am #38040
Hi, is it possible to use the searchbox that looks only into a specific custom field made with ACF?
example:
http://www.movie-time.it/I’m rebuilding this website, and I need 3 different search:
1 for director that search only in the director ACF field
1 for starring
1 for titlesthanks in advance
Michele
Ross Moderator(Private) February 29, 2016 at 10:35 am #38228Hey Michele
S&F doesn’t support multiple search boxes – you can only use one in a search form.
If you want this search field to search inside custom fields then you must combine it with Relevanssi –
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/
Thanks
Ross Moderator(Private) February 29, 2016 at 10:37 am #38229Alternatively, to get something a bit similar, you could choose a post meta field, choose the choice tab, and then choose a dropdown or multiselect input type.
Then you can enable combobox – which would get a similar effect to the movies demo:
demo.designsandcode.com/sfpro-movie-reviews/
Thanks
Ross Moderator(Private) February 29, 2016 at 9:52 pm #38288Hey Michele
What happens when you disable ajax?
I think divi needs to run some javascript when the new results are loaded, to process those shortcodes correctly and hide them from the screen.
Thanks
Anonymous(Private) March 1, 2016 at 9:18 am #38320Hi Ross,
with Ajax disabled everything wors fine! thanks a lot.What about my previous question?
If I creat multiple ACF for starring, example:
Starring1
starring2
Starring3
starring4Theres a way to tell to the Starring multiselect filed to look into multiple ACF fileds?
Ross Moderator(Private) March 1, 2016 at 10:00 am #38324Hey Michele
I’m afraid not, 1 field can use 1 meta key/custom field
So you will have to think about how you can maybe create a new type of custom field that will do what you need.
Are the
starring1,starring2fields etc for ratings? ie – 1 – 5 star?Then you could just use a number field, and have the value b e anything from 1 to 5.
Thanks
-
AuthorPosts