Skip to:
Content
Pages
Categories
Search
Top
Bottom

Displaying the WordPress default bio or description

  • Avatar of perywinkle
    perywinkle
    Participant

    @perywinkle

    I’d really like to display the WP user description in the BuddyPress member-header.php.
    Seems like it should be easy to do?
    My regular WP tricks aren’t working in the BP template.

    Suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of perywinkle
    perywinkle
    Participant

    @perywinkle

    Well, here’s a solution that worked for me:

    // User Description
    $user_meta = get_userdata(bp_displayed_user_id());
    echo($user_meta->description);

    Avatar of 1721media
    1721media
    Member

    @1721media

    I can’t find my member-header.php. What version are you using?

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    member-header.php is located in /bp-default/members/single/.

    If you’re making modifications to the bp-default theme, build a child theme so your changes will not be wiped out:

    http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    Avatar of Paul Gibbs
    Paul Gibbs
    Keymaster

    @djpaul

    Another option is to use/create a widget, something like http://wordpress.org/extend/plugins/user-bio-widget/ perhaps (untested).

    Avatar of Panicky
    Panicky
    Participant

    @panicky

    3 years later, and with ByddyPress 2.0, how should I relate to this post?

    I can’t seem to find the folders that are described here…
    CAn someone point me in the right direction?

    Avatar of dolliv
    dolliv
    Participant

    @dolliv

    You can still find the member-header file in the buddypress folder: bp-templates/bp-legacy/buddypress/members/single.

    Avatar of Panicky
    Panicky
    Participant

    @panicky

    Thank you! I was digging around in the bp-themes folders and nothing happenes…

    Avatar of dolliv
    dolliv
    Participant

    @dolliv

    What do you mean exactly? Were you searching there?

    Avatar of Panicky
    Panicky
    Participant

    @panicky

    Sorry for the ambiguous answer, I was in a bit of a hurry.
    I was searching in the wrong folders: bp-themess/bp-default/buddypress/members/single, so that’s why nothing happened when I was modifying things. But I’m all up and running now! Thank you!

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

You must be logged in to reply to this topic.