[Geschlossen] View-Support for WordPress-User Data?
This support ticket is created vor 3 Jahren, 1 Monat. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
I am currently working on an intranet project that I want to implement using Toolset, the Kadence theme and Kadence blocks.
Among other things, I want to create an employee directory. In the meantime, is it possible with Toolset that you can directly display WordPress users in a view?
For other WordPress projects (but with the Oxygen Builder and Advanced Custom Fields) I was able to implement such a staff directory directly with the plugin "WP Grid Builder", which directly allows WordPress users as a list in the frontend to output and filter. Unfortunately, a toolset support is not planned for WP Grid Builder until further notice.
Until now, I have to go the roundabout way in Toolset and create a custom post type for each WordPress user and store the respective WordPress user as author there. I can then display the posts of this custom post type per view and filter them in the frontend. This works without problems, but is additional work for the responsible admins of the intranet.
Should Toolset still not support view output from WordPress users: Is there a chance that this might be implemented in the next updates?
The legacy editor of Views supports querying and displaying users (as well as taxonomies, in addition to posts), it is the block-based View editor where only posts are supported.
If you go to Toolset > Settings you can enable the legacy editor (or both), and then you'll be able to create Views directly at Toolset > Views.
It is similar to working with the Views block, inasmuch as you set up the query and then design the output, but you will be designing the output by working with shortcodes for the dynamic content, instead of blocks.
Note that custom search and filtering isn't supported for users.
Try that and see if it suits your needs better than the solution where you create a profile post in parallel to the users.
Das Thema „[Geschlossen] View-Support for WordPress-User Data?“ ist für neue Antworten geschlossen.