Skip Navigation

[Résolu] Table of User Profiles – How to filter the View by field search parameters

This support ticket is created Il y a 2 années et 4 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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 2 années et 4 mois.

Assisté par: Minesh.

Auteur
Publications
#2423945

I have a view which returns a table of user profiles (its like a "Freelancers for Hire" directory).

I'm using a custom field in each user profile called "Niche".
When a freelancer enters their information, they select their niche from a drop down list.

I cant figure out how to create a a "Filter" for the View on the front end, so that visitors can search and filter ONLY for freelancers in a particular niche.

FYI I am using the CLASSIC LEGACY VIEWS BUILDER interface, NOT the Blocks Version (I don't use Gutenberg).

I can see a message in the Views builder interface in the Custom Search Settings "Only Views listing posts can have custom search inputs."

SURELY there must be a way to filter users according to some search criteria?

Custom code maybe?

Help , please!

#2424405

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

The thing is that using Toolset Block/Views, you can build custom search for post type view or archive only. You can not build custom search for user or taxonomy views.

Here is the doc whats possible if you want to build search using users:
https://toolset.com/course-lesson/how-to-create-custom-searches-and-relationships-for-users/