您想在 WordPress 中添加作者的照片吗?默认情况下,大多数 WordPress 主题都会显示作者的头像作为其个人资料照片。但是,如果您想用真实的作者照片替换头像图像怎么办?在本文中,我们将向您展示如何在 WordPress 中轻松添加作者的照片。
您想在 WordPress 中添加作者照片吗?默认情况下,大多数 WordPress 主题将作者的头像图像显示为个人资料照片。但是,如果您想用真实的作者照片替换头像图像怎么办?在本文中,我们将向您展示如何在 WordPress 中轻松添加作者照片。

什么时候需要WordPress中的自定义作者照片? (When Do You Need Custom Author Photo in WordPress?)
If you run a single author WordPress site, then you can just use an 图像小部件 to add your photo and an about page with more information.
如果您运行单个作者WordPress网站,则可以使用图片小部件添加照片和带有更多信息的“关于”页面。
On the other hand, if you run a 多作者 WordPress 网站, then you may need to add an 作者简介框 at the end of your articles. Author bio box typically shows an author’s profile photo, brief bio, and links to their website or social profiles.
另一方面,如果您运行一个多作者 WordPress 网站 ,则可能需要在文章结尾处添加一个作者简介框 。 作者简介框通常会显示作者的个人资料照片,简介,以及指向其网站或社交资料的链接。
By default, most WordPress themes display an author’s 头像 image as their author photo. However, sometimes an author may not have a gravatar image or they may not want to use it as an author image on your website.
默认情况下,大多数WordPress主题显示作者头像图像作为其作者的照片。 但是,有时作者可能没有图形图像,或者他们可能不想在您的网站上将其用作作者图像。
话虽如此,让我们看看如何在 WordPress 中轻松添加作者照片并允许作者将照片上传到他们的个人资料中。
话虽如此,让我们看看如何在 WordPress 中轻松添加作者照片并允许作者将照片上传到他们的个人资料中。
影片教学 (Video Tutorial)
如果您不喜欢该视频或需要更多说明,请继续阅读。
如果您不喜欢该视频或需要更多说明,请继续阅读。
在WordPress中添加作者照片 (Adding an Author Photo in WordPress)
First thing you need to do is install and activate the WP用户头像 plugin. For more details, see our step by step guide on 如何安装 WordPress 插件.
您需要做的第一件事是安装并激活WP用户头像插件。 有关更多详细信息,请参阅有关如何安装 WordPress 插件步指南。
激活后,该插件将在您的 WordPress 管理栏中添加一个标记为 Avatars 的新菜单项。单击它将带您进入插件的设置页面。
激活后,该插件将向您的 WordPress 管理栏添加一个名为“Avatar”的新菜单项。单击它将带您进入插件的设置页面。

您可以在此处选择如何在 WordPress 网站上显示用户头像。
您可以在此处选择如何在 WordPress 网站上显示用户头像。
By default, this plugin allows users with at least an 作者 role to upload their own profile photo. You can change that and allow contributors and subscribers as well.
默认情况下,此插件允许至少具有作者角色的用户上传自己的个人资料照片。 您可以更改它,并允许贡献者和订阅者。
它还允许您在 WordPress 网站上完全禁用 Gravatar,并仅使用本地头像。
它还允许您在 WordPress 网站上完全禁用 Gravatar,并仅使用本地头像。
一旦您对设置感到满意,请继续并单击“保存更改”按钮来保存它们。
一旦您对设置感到满意,请继续并单击“保存更改”按钮来保存它们。
Now you can go to 用户 page and click on the edit button below a username.
现在,您可以转到“ 用户”页面,然后单击用户名下方的编辑按钮。
在编辑用户屏幕上,向下滚动到底部,您将看到头像部分。您可以单击“选择图像”按钮上传用户照片。
在编辑用户屏幕上,向下滚动到底部,您将看到“头像”部分。您可以点击“选择图片”按钮上传用户照片。

不要忘记单击“更新个人资料”按钮来保存您的更改。
不要忘记单击“更新个人资料”按钮来保存您的更改。
同样,您的 WordPress 网站上的用户将能够通过编辑其用户个人资料来上传照片。
同样,您的 WordPress 网站上的用户将能够通过编辑其用户个人资料来上传照片。

现在您可以访问您的网站以查看插件的运行情况。
现在您可以访问您的网站以查看插件的运行情况。
它将开始显示本地头像作为文章的作者照片。如果用户没有添加作者照片,则会显示他们的头像。
它将开始显示本地头像作为文章的作者照片。如果用户没有添加作者照片,则会显示他们的头像。

If a user doesn’t have an author photo or gravatar image, then it will fallback to the default gravatar image. You can add a 品牌定制头像 to be used as fallback image.
如果用户没有作者照片或头像图像,则它将回退到默认的头像图像。 您可以添加为您的品牌定制图像作为后备图像。
We hope this article helped you learn how to add an author’s photo in WordPress. You may also want to see our guide on 如何允许用户向您的 WordPress 网站提交帖子.
我们希望本文能帮助您学习如何在WordPress中添加作者的照片。 您可能还想查看有关如何允许用户向您的 WordPress 网站提交帖子指南。
If you liked this article, then please subscribe to our YouTube 频道 for WordPress video tutorials. You can also find us on 推特 and Facebook.
如果您喜欢这篇文章,请订阅我们的YouTube 频道 WordPress视频教程。 您也可以在推特和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/plugins/how-to-add-an-authors-photo-in-wordpress/