Skip to:
Content
Pages
Categories
Search
Top
Bottom

members loop: showing more profile info

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of davewright
    davewright
    Participant

    @davewright

    So, I got a few fields to display, but now my new problem is that my plain text and HTML is not showing up on the page for some reason – in this example, the text label “Location:” and the line break are not coming through.

    http://pastebin.com/ZRx4rU9A

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    <?php echo 'Location:’; ?>

    Avatar of davewright
    davewright
    Participant

    @davewright

    ah, i figured it out.

    i needed bp_get_member_profile_data instead of bp_member_profile_data.

    Avatar of davewright
    davewright
    Participant

    @davewright

    okay – so, here’s an example of the kind of code i’m using. hopefully this can help people in the future!

    http://pastebin.com/rR7qgXKy

    keywords people might use to find this post: buddypress extended profile fields, buddypress members loop, buddypress members-loop.php, bp_member_profile_data( ‘field=the field name’ );, bp_get_member_profile_data.

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

You must be logged in to reply to this topic.