Get profile data outside of loop
-
So in buddypress profile fields, I have created two custom fields; First Name, Last Name.
I want to use xprofile_get_field_data to call the first name and the initial of the last name.
Here’s what I have so far
<?php echo xprofile_get_field_data('field=display name '); ?>
What else do I need to add to make this happen magically?
Thanks.
- The topic ‘Get profile data outside of loop’ is closed to new replies.