Skip Navigation

[Resolved] Add Filter and Custom Search in “Users” View

This thread is resolved. Here is a description of the problem and solution.

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 7 years ago. 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.

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)

This topic contains 4 replies, has 2 voices.

Last updated by marcB-6 7 years ago.

Assisted by: Minesh.

Author
Posts
#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

Languages: English (English )

Timezone: 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

Languages: English (English )

Timezone: 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