This support ticket is created Il y a 5 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Tell us what you are trying to do?
I am trying to set up custom search, and wondering is it possible to set up search to search throug 5 or 10 different custom fields?
Is there any documentation that you are following?
I saw old tickets that this is not possible but they are quite old so I thought I ask.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
Hi there
I don't see why this wouldn't be possible.
You make a custom post type and add custom fields and/or taxonomies for size, shape, color, priority, availability, popularity and generate some posts with these fields or taxonomies.
You create a custom search View and insert filter controls for each of these fields.
Do I misunderstand what you are aiming to do? No reason why that wouldn't work.
I set just one consultant area of specialisation in one fild:
CF1: Children therapy
CF2: Famili therapy
CF3: Couple therapy
CF4: Hazards
CF5: Online therapy
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
OK, you want a View with filters for several custom fields and to use a single text filter control to provide the value for all of the filters.
That's not possible as described, no, each filter would need its own control.
But, if you add Relevanssi to your site you can create a text search View and in the settings for Relevanssi you would have it index all of the relevant custom fields.
So you have a View with a text search where not only the title and post content are included in the search, but your custom fields as well.
I think this is the closest to what you are aiming for.