xprofile fields create link
-
I’m trying to create a link on a members blog posts by pulling two fields from their profile.
1st Field: Website Name
2nd Field: URL to websiteI was trying the following code but it don’t work.
<a href="<?php echo xprofile_get_field_data( 'Your Website URL', get_the_author_meta( 'ID' ) ); ?>"><?php echo xprofile_get_field_data( 'Your Website Name', get_the_author_meta( 'ID' ) ); ?></a>
Note: Alone each code does work in calling the right information. Can anyone point me in the right direction
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.