如何从Buddypress配置文件中删除Gravatar消息

时间:2018-04-21 17:10:03

标签: wordpress wordpress-theming buddypress gravatar

我想删除/隐藏“您的个人资料照片将用于您的个人资料和整个网站。如果有与您的帐户电子邮件相关联的Gravatar,我们会使用它,或者您可以上传您的个人资料计算机。“来自BuddyPress个人资料照片上传部分的消息。

任何人都可以提供帮助吗?

2 个答案:

答案 0 :(得分:0)

转到: src / public_html / wp-content / themes /(主题名称)/buddypress/members/single/profile/change-avatar.php 并删除以下编码。可能是25到29行

<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>

答案 1 :(得分:-1)

<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-主题\ bp-default \ members \ single \ profile \ change-avatar.php