Skip Navigation

[Resolved] user field name , profile image not showing on mobile

This support ticket is created 6 years, 1 month ago. 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.

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: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Luo Yang 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#621857

I created looping slider with flexslider2 to show woocommerce customers name and profile picture

I'm put this field in loop

[wpv-user field="profile_picture"]
[wpv-user field="user_firstname"]

everything is work fine on computer but that's 2 field it's not showing on mobile phone. How to fix that?
this my url goo.gl/b8zs4R

#621952

So sorry it's my bad

change [wpv-user field="user_firstname"] to [wpv-post-field name='_billing_first_name']
it's work great.
Just one last thing how to display customer profile image
[wpv-user field="profile_picture"] this shortcode is not work.

#621978

Hi,

I tried the URL you mentioned above, but get the error:
This site can’t be reached
charity.design****.com took too long to respond.

The shortcode [wpv-user] works insider a Views user query or the current user if outside a loop:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-user

But you can specific the user's ID, like this:
[wpv-user field="user_email" id="123456"]
Display the email value for the the user with ID 123456.

#622028
testingid.jpg

I try specific the user's ID it's work fine.
but I need to display all user or multiple user can I put seperate for ID something like id="1,2,3,4,5,6" ?

or anyway else to display customer profile?

#622379

You can create a view, list wordpress users, filter with
Select users with id set by the View shortcode attribute "users" and with role "(any)"
eg. [wpv-view name="view-name" users="1"]

In the view's loop, display the shortcode [wpv-user ...]

And display above view, like this:
[wpv-view name="view-name" users="1,2,3,4,5,6"]

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