Skip Navigation

[Resuelto] Add Filter and Custom Search in «Users» View

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
Can I add a Custom Search to a user View?
If so, how?

Solution:
There is no such feature available to add custom search for users.

You can only build custom search for CPT view or CPT archive view. You can not build custom search for users view.

Relevant Documentation:

0% of people find this useful.

This support ticket is created hace 7 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por marcB-6 hace 7 años.

Asistido por: Minesh.

Autor
Mensajes
#593880
Screenshot_1.png
Screenshot_2.png

I have created a view to display users with role "Subscribers" and in view I have added a query filter for "locationname".
So, view is displaying users working at particular location.

Now, I would like to add search box which will search from :
1) Firstname
2) Lastname
3) Job Title
4) Work area

And, a filter for below fields

1) Work area
2) Business days (Sunday,Monday etc)

When I am going to add filter and search I see the message : Only Views with messages can have custom searches.

So, How can I add filter and search to an user view as I mentioned above.

Thanks

#593910

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - There is no such feature available to build custom search for users.

You can only build custom search for CPT view or CPT archive view. You can not build custom search for users view. So the message you got "Only Views listing posts can have custom search inputs." is expected one.

#593913

Is there any other way to do?

#593919

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Well - there is no such feature or alternate solution until you hook your all usermeta to posts and that will require lot of effort and custom programming that is beyond the scope of our support policy.

If you need custom programming for your project, please feel free to contact our certified partners.
=> https://toolset.com/contractors/

#593968

Ok Thanks