简体   繁体   中英

How to remove Gravatar Message from Buddypress Profile

I want to remove/hide

"Your profile photo will be used on your profile and throughout the site. If there is a Gravatar associated with your account email we will use that, or you can upload an image from your computer."

message from BuddyPress Profile Photo upload section.

Anyone can help ?

Goto: src/public_html/wp-content/themes/(Theme Name)/buddypress/members/single/profile/change-avatar.php and remove the following coding. May be 25 to 29 lines

<figure class="callout-blockquote light">
    <blockquote>
        <p><?php _e( 'Your profile photo will be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ); ?></p>
    </blockquote>
</figure>
<p><?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress'); ?></p>

位于 buddypress\\bp-themes\\bp-default\\members\\single\\profile\\change-avatar.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM