Skip to:
Content
Pages
Categories
Search
Top
Bottom

Name instead of username in header


  • bertl11
    Participant

    @bertl11

    Hello,

    I want to replace the username in the member header with the (real) name. I tried to change in the cover-image-header.php this piece of code bp_displayed_user_mentionname() but probably used the wrong code.
    Would be great if someone has a solution 🙂

    Thanks

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

  • bertl11
    Participant

    @bertl11

    … I tried: bp_displayed_user_username() but that doesn’t work.


    bertl11
    Participant

    @bertl11

    Finally found a code that worked:
    echo bp_core_get_user_displayname( bp_loggedin_user_id() );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Name instead of username in header’ is closed to new replies.
Skip to toolbar