Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get profile data outside of loop


  • 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.

  • The topic ‘Get profile data outside of loop’ is closed to new replies.
Skip to toolbar