This topic has 2 replies, 2 voices, and was last updated 10 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
    This reply has been set as private.
    #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

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

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?