Skip Navigation

[Gelöst] Access wp_usermeta table in Views

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
The user would like to display some user meta data that is managed by the Memberpress plugin.

Solution:
Toolset functions and shortcodes will only allow you to display fields that are managed by Toolset:
- https://toolset.com/documentation/customizing-sites-using-php/functions/
- https://toolset.com/documentation/user-guides/views/views-shortcodes/

According to this article, Memberpress has its own shortcodes to display user meta[mepr-account-info]
https://docs.memberpress.com/article/112-available-shortcodes

You may want to create your custom shortcode to display the user meta, like this answer on StackOverflow https://wordpress.stackexchange.com/a/82335
Or this one https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/shortcodes/display-user-meta/

Or using a 3rd party plugin such as https://wordpress.org/plugins/user-meta-shortcodes/

Relevant Documentation:

This support ticket is created vor 3 Jahre, 11 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by DavidW2160 vor 3 Jahre, 11 Monate.

Assisted by: Jamal.

Author
Artikel
#1617159

I'm using Memberpress, and would like to use Views to create a member directory. I don't see the custom fields I've created using the Memberpress capability (an extension of the user profile), which I believe are stored in table wp_usermeta. Any way to do this? I can find the names of the meta fields, just not how to access them.

#1618075

Jamal
Supporter

Languages: Englisch (English ) Französisch (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello and thank you for contacting the Toolset support.

Toolset functions and shortcodes will only allow you to display fields that are managed by Toolset:
- https://toolset.com/documentation/customizing-sites-using-php/functions/
- https://toolset.com/documentation/user-guides/views/views-shortcodes/

According to this article, Memberpress has its own shortcodes to display user meta[mepr-account-info]
hidden link

You may want to create your custom shortcode to display the user meta, like this answer on StackOverflow https://wordpress.stackexchange.com/a/82335
Or this one hidden link

Or using a 3rd party plugin such as https://wordpress.org/plugins/user-meta-shortcodes/

I hope this helps. Let me know if you have any questions.

#1620527

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.