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

  • Author
  • #19515
     Buschiq
    Participant

    Hi,
    Thanks for a great theme!

    Just one problem, I tried to change the phrase”date of birth” in the profile fields under the tabs only (as it askes for date of birth on the registerform I want to keep it there). Anyhow, I googled and found this code on wordpress.org:

    COPY CODE
    function my_bp_get_the_profile_field_name($name) {
        if ($name == 'Date of Birth' && strpos($_SERVER['REQUEST_URI'], '/register') === false) {
            return 'Age';
        }
        return $name;
    }
    add_filter ( 'bp_get_the_profile_field_name', 'my_bp_get_the_profile_field_name', 15, 1);

    Tried it and my tabs and all the profile fields disappeared, it’s just empty next to the avatar. Removed the code and reuploaded my functions.php, still nothing there. Tried changing to full Sweet date theme and still nothing so I changed back to the child theme.
    Of course I tried clearing cache and different browsers, it doesn’t seem to be on my end.

    I really have no idea what else to try.

    #19517
     Buschiq
    Participant

    And it’s back.

    Never mind this question, it must have been on my side anyway… Sorry for starting this thread! *embarrassed* As it doesn’t give anyone else any input, perhaps it could be erased?

    #19867
     Abe
    Keymaster

    Hi, If that tab does not appear next to the image then you probably renamed the Base group name to another one. See this topic on changing those tabs: https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?