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

  • Author
  • #12526
     MotionProm
    Participant

    Hello, i try to modify tab name (next to profile image) on member page but there’s something i don’t understand.

    In Users-Profile Fields, my group are automatically translated to french name but if i review functions.php to add more tab or change the order, i cannot find “real name”.

    Exemple :
    $bp_tabs[‘looking-for’] = array(
    ‘type’ => ‘cite’,
    ‘name’ => __(‘Looking for’, ‘kleo_framework’),
    ‘group’ => ‘Looking for’,
    ‘class’ => ‘citetab’
    );

    this code is working well but how can i change name ? Cos in users-profile fields i have this :
    https://imageshack.com/i/7grrhlp

    I’d like also to add a new tab. So i created a group in users-profile fields named “Test” with a field named “John”. Could you help me with the code ?

    Thanks

    #12530
     MotionProm
    Participant

    Anyone can help ?

    #12538
     MotionProm
    Participant

    I solved it out by myself 🙂

    #12623
     Abe
    Keymaster

    Hi, Sharing the solution will help other users that might find this topic. To change the name how it appears in the front-end you just change the name attribute in the code you pasted but leave the “group” attribute with the name of the group from Users – profile fields
    $bp_tabs[‘looking-for’] = array(
    ‘type’ => ‘cite’,
    ‘name’ => “My new nam”,
    ‘group’ => ‘Looking for’,
    ‘class’ => ‘citetab’
    );

    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 4 posts - 1 through 4 (of 4 total)

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

Log in with your credentials

Forgot your details?