We want to build a staff directory.
We have just a few fields to display and search by: Name, Email -- plus three meta fields: Title, Department, and Location.
We want a simple view of users with search filters.
When I go to add a view, I can only choose Posts, Pages, Media, and Views, but not Users ...
How do I access users?
Tis post is why I purchased Toolset: https://toolset.com/2013/11/views-1-4-with-users-support/
Is this no longer supported?
Hi Stephen,
Currently it isn't possible to create custom searches for wordpress users however if your users have a profile on a Profile Custom Post type then a search can be created from this.
Please follow the instructions in the link below for an example of how you can achieve this.
https://toolset.com/course-lesson/how-to-create-custom-searches-and-relationships-for-users/
Thanks,
Shane
Thanks for your help Shane.
I actually am looking forward to using Toolset, as I am also a Drupal developer, and one of my biggest disappointments about WordPress is the lack of anything competitive with Drupal Views. Your product comes pretty close.
Here's my challenge with the tutorial -- I am not allowing users to register. They are employees of a company, and their logins are managed by Single Sign on through Google Workspace. I am pulling in three fields only, but they have to come through Google Workspace and cannot be edited by the user.
I know I can lock down editing permissions, but I don't think posts can be auto-created on user account creation through SSO, and then deleted/put in draft, when an employee is terminated.
Do you know of any way to autocreate content on user account creation, and them populate their custom fields with data from the user account that is pushed through?
Hi Stephen,
Do you know of any way to autocreate content on user account creation, and them populate their custom fields with data from the user account that is pushed through?
Unfortunately i'm not aware of any means of doing this. The only thing that comes to mind is by using some form of custom code to gather the data from the google workspace API.
Our Views plugin can only filter through data that is stored on the site itself.
Thanks,
Shane