How would we link to a members profile page, for example hidden link
Where does this go to? [wpv-user field="user_url"]
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Leila,
Thank you for getting in touch.
How are the members profile created are they stored in a CPT or are you using the user itself to display the profile.
Please let me know.
Thanks,
Shane
They are buddypress member profiles
Would like to create a VIEW with user profiles
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Leila,
So to get this straight you want to post a link to their profile pages in views.
You will allow views to list the users and then you can click on their username to go to their buddypress profiles?
It seems buddypress is using the screen name for the user to construct the url.
Try this.
<a href="<em><u>hidden link</u></em>"> My Name </a>
So if you set the display name for the user to be their username then this should generate the correct link for you.
Thanks,
Shane
Very close... it's out putting the link like this hidden link and showing a 404 error.
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Leila,
Its setting it to the first and last name of the user.
You will need to set it to the display name of the user to whichever one is similar to "leilagaber".
Or you can try
[wpv-user field='nickname']
Thanks,
Shane
I used [wpv-user field='nicename'] and it worked 🙂
Thank you!!