Skip to:
Content
Pages
Categories
Search
Top
Bottom

Displaying the WordPress default bio or description

  • @perywinkle

    Participant

    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)
  • @perywinkle

    Participant

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

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

    @1721media

    Member

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

    @r-a-y

    Keymaster

    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:
    https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    @djpaul

    Keymaster

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

    @panicky

    Participant

    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?

    @dolliv

    Participant

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

    @panicky

    Participant

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

    @dolliv

    Participant

    What do you mean exactly? Were you searching there?

    @panicky

    Participant

    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)
  • The topic ‘Displaying the WordPress default bio or description’ is closed to new replies.
Skip to toolbar