Uh oh! I think I might be in big trouble. I'm building a membership site with Toolset where members are users with custom fields to specify things like availability to work, experience, and their LOCATION (using toolset Maps.)
My intent was to set up a member directory where you could search for members within a certain distance of your ZIP code.
I'm 90% finished with my site, but now I think I'm running into a toolset limitation? Is it still the case (like in the ticket below) that it is impossible to add search filters (for example a "filter members within 100 km of my current location") for USERS -- that this can only be done for POSTS?
https://toolset.com/forums/topic/only-views-listing-posts-can-have-custom-search-inputs/
Hi,
Your understanding is correct and the search filters can only be included in the views for posts.
As explained in the following guide, a recommended approach is to include a new custom post type 'User Profiles', where each user on the website, also has exactly one post as a post author in this post type:
https://toolset.com/lesson-placement/lesson-placements-1622969-1929573/
Any search operations can then be performed on these 'User Profiles' posts, instead of the WordPress users list.
regards,
Waqar