Convert URL Xprofile field to text
I’d like to take the URL entered in an Xprofile field and display it on another page using a different Xprofile field as the link text (instead of using the URL entered in the the Xprofile field as both the link text and the destination).
So as an example, the Xprofile fields are Blog Name and Blog Address. On the profile, the Blog Name is plain text, and the Blog Address is a URL. When I display it on the other page, I want the Blog Name field to show up as the link text, and then the link’s destination will be the Blog Address field.
I’m able to grab and display both Xprofile fields as is, but the URL field is coming through as the full link (with link text and address).
How do I convert that URL Xprofile field to text? Or split it up somehow so I’m just getting the address part?
- You must be logged in to reply to this topic.