Skip to:
Content
Pages
Categories
Search
Top
Bottom

One-line bio


  • Essam12
    Participant

    @essam12

    Hi, I’m new to BP and WP! I have a quick question:

    How can I show a one-line bio beneath usernames in the list of members in the ‘Members’ page of my BuddyPress website? For example, Facebook has a similar feature; it shows a name with a description beneath, e.g. ‘John Smith’ with ‘Engineer at Nuts & Bolts Co’ right beneath it.

    I found the following line of code in member-header.php:
    <h2 class=”user-nicename”>@<?php bp_displayed_user_username(); ?></h2>

    I thought about adding another line beneath for the bio field, but I’m not sure what to replace “bp_displayed_user_username();” with – I don’t think there is a “bp_displayed_user_bio();”. Should I create it? If so, how?

    Thank you for your time!

  • The topic ‘One-line bio’ is closed to new replies.
Skip to toolbar