This topic has 5 replies, 3 voices, and was last updated 10 years by Abe.

  • Author
  • #19373
     rutico
    Participant

    We would like to change the way the user name appears above the profile picture. Right now it appears as the nickname@username. For example: username: sarah92r, nickname: Sarah Ferretti. This shows above the profile picture as Sarah Ferretti@sarah92r.
    Please visit our site: http://www.adventuredates.net to see what I mean.

    Does anyone have an idea how to change it so only the nickname appears above the profile picture?

    Huge thanks,

    #19468
     Anchora
    Participant
    COPY CODE
    
    /* Display Username in Directory */
    function kleo_member_username() {
        global $members_template;
     
        return $members_template->member->user_login;
    }
    add_filter('bp_member_name','kleo_member_username');
    
    
    #19508
     rutico
    Participant

    Thanks you for the response Anchora. where on the dashboard do I go to put this code?
    Thank you very much!

    #19509
     Anchora
    Participant

    you put it into functions.php of your sweetdate-child folder

    #19510
     rutico
    Participant

    Thank you again. I’m not very familiar with coding and php. Can you give me directions to get to the sweetdate-child fold? Thank you!

    #19613
     Abe
    Keymaster

    Thanks anchora. that is on your ftp server in wp-content/themes folder

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?