Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • maikunari
    Participant

    @maikunari

    Just posting back with the solution in case it helps anyone else. This function will do it:
    xprofile_get_field_data('Profile',$u_id);

    In my case it’ll be:

    <?php if ( xprofile_get_field_data( 'Profile', $user_ID ) ) : ?>
         <?php echo xprofile_get_field_data( 'Profile', $user_ID ); ?>
    <?php endif; ?>

    Thanks to chifliiiii on WordPress Answers and to @shanebp.


    maikunari
    Participant

    @maikunari

    @shanebp Thanks for the tip, that may be just what I need!


    maikunari
    Participant

    @maikunari

    @bphelp Thanks for the answer, but that doesn’t seem to be it 🙁

    I tried <?php echo bp_member_profile_data( 'field=Profile:' ); ?> but no dice.
    Also it seems to work fine without echoing it on members/members-loop.php.

    It may be that the function only works inside the members loop, but I’m not sure?

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar