Hi @koob2022,
First of all, you don’t need the “Profile Builder – List user meta with a shortcode” add-on anymore, this feature was added directly into Profile Builder so for this, you will only need the Profile Builder plugin installed and the option from Profile Builder -> Settings -> Advanced Settings -> Shortcodes -> “Enable Usermeta shortcode” to be activated.
What you’re looking to display while using the usermeta shortcode?
Note: To display the username of a user while using this feature you can use the following shortcode:
[user_meta key=”user_login”]
Note2: The above shortcode will only display the username when a logged-in user visits that page.
Best regards,
The shortcode didn’t work at all . On the front end, it shows a blank page .
Hi @mynetflixtain,
I’m sorry for the above shortcode. I used the wrong quotation marks.
The shortcode should be like this: [user_meta key="user_login"] to display the username.
To display the user email address you have to use the following shortcode: [user_meta key="user_email"]
For the nickname, the shortcode is: [user_meta key="nickname"]
And for any fields made with Profile Builder, you will have to use the meta name for that respective field. The meta-name for that field can be found in Profile Builder -> Form Fields -> Meta-Name column. An example of this will be: [user_meta key="nickname"]
Note: Did you also open the following support threads:
https://ww.wp.xz.cn/support/topic/user-meta-shortcode-not-working-2/
https://ww.wp.xz.cn/support/topic/user-meta-shortcode-not-working-3/
https://ww.wp.xz.cn/support/topic/user-meta-shortcode-not-working-4/
https://ww.wp.xz.cn/support/topic/user-meta-shortcode-not-working-5/
If you did, can we continue the conversation regarding this issue on the following post: https://ww.wp.xz.cn/support/topic/user-meta-shortcode-not-working/#post-15876145?