I'm creating a members only sites where users can see other users data. Just what Buddypress will do.
The thing is that I've created a all my custom field as _User Fields_ and just found out that all users related fields can not be used within Custom Search
"Only Views listing posts can have custom search inputs."
So I guess the questions are:
¿How can I create a View for all my users filtered by a specific Custom Field from the User Field?
¿ How can I create a Content Template for each user to show all my Custom Fields that will be access from this view ?
Q1) How can I create a View for all my users filtered by a specific Custom Field from the User Field?
Yes, you are right, user view does not support custom search form, for example, there is a custom single line user field "my-user-field", you can create a view to list all users whose "my-user-field" field value is same as current user's, for example:
1) Create a view "my-user-view", list users, filter by Usermeta field filter:
Select items with field:
my-user-field is a string equal to VIEW_PARAM(myuserfield)
Q2) How can I create a Content Template for each user to show all my Custom Fields that will be access from this view ?
Could you elaborate the question with more details?
What kind of content template do you need, what custom do you want to show? how do you setup the view?
I need to test it in my localhost ,thanks
I have same issue. I need a page, "Display a filterable list of users"
This post is not helpful because I'm using Toolset Blocks which I can't use View plugin.
Would you explain how to do it with "Toolset Blocks"
Or is there any document for this? Please let me know.