Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get profile data outside of loop

  • Avatar of newmedia85
    newmedia85
    Participant

    @newmedia85

    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.

You must be logged in to reply to this topic.