Deseja adicionar a foto de um autor no WordPress?
Por padrão, a maioria dos temas do WordPress mostra o gravatar do autor como sua imagem de perfil. Entretanto, os autores podem querer substituir esse gravatar por outra imagem.
Neste artigo, mostraremos como adicionar a foto de um autor no WordPress.
Quando você precisa adicionar uma foto de autor no WordPress?
Se você administra um site WordPress com vários autores, talvez decida adicionar uma caixa de informações do autor nas publicações do WordPress. Essas caixas de biografia do autor geralmente mostram a foto do perfil do autor, uma breve biografia e um link para seu site ou perfis sociais.
Por padrão, a maioria dos temas do WordPress usa o Gravatar da pessoa como sua foto de autor. No entanto, às vezes você pode preferir usar uma imagem diferente para a foto do autor.
Como proprietário de um site WordPress, você pode até ter regras sobre o tipo de foto que deseja exibir nas caixas de biografia do autor. Por exemplo, talvez você exija que seus autores usem uma foto profissional de rosto.
Se o Gravatar do autor não atender às suas regras, talvez você queira editar o perfil dele e carregar uma imagem que se adapte melhor ao seu blog do WordPress.
Com isso em mente, vamos ver como você pode adicionar a foto de um autor no WordPress.
Como adicionar a foto de um autor no WordPress
A maneira mais fácil de adicionar uma foto de autor no WordPress é usar o plug-in PublishPress Authors. Esse plug-in permite que os autores editem seu próprio perfil e foto de autor, adicionando uma nova área “Perfil do autor” ao painel do WordPress.
Também dá aos administradores do site o poder de editar o perfil do autor, incluindo a alteração da foto.
Primeiro, você precisará instalar e ativar o plug-in PublishPress Authors. Se precisar de ajuda, consulte nosso guia sobre como instalar um plug-in do WordPress.
Após a ativação, vá para Authors ” Settings (Autores ” Configurações). Em seguida, você pode clicar na guia “Exibir”.
Depois de fazer isso, abra o menu suspenso “Layouts” e escolha um layout que inclua uma foto do autor.
O layout padrão é “Boxed”. Isso mostra as informações do autor em uma caixa, com a foto do autor.
O layout “Centered” (centralizado) é semelhante ao boxe, mas com todas as informações do autor centralizadas dentro da caixa de biografia do autor.
“Inline with avatar” e “Simple List” são layouts que incluem espaço para uma foto do autor. Aqui está um exemplo do layout Simple List.
Esteja ciente de que esses dois layouts não têm espaço para uma biografia. Mesmo que o autor tenha adicionado uma biografia, ela não será exibida em seu site.
Depois de escolher seu layout, clique no botão “Save Changes” (Salvar alterações). Agora você pode visitar seu site para ver as fotos do autor em seus posts e páginas do WordPress.
Qualquer pessoa que tenha se registrado no seu site com a função de autor agora poderá carregar uma foto usando as configurações do “Perfil do autor” no painel do WordPress.
Como alterar a foto de um autor no WordPress
Como administrador, você também pode usar o PublishPress Authors para alterar qualquer uma das fotos de autores individuais que aparecem em seu site. Isso é útil se um autor escolher uma foto que não seja adequada para seu site.
Para alterar a foto de um autor, basta acessar Authors ” Authors.
Agora você verá uma lista de todos os autores registrados no seu blog do WordPress.
A partir daí, você pode clicar no link “Editar perfil do autor” de um autor.
Em seguida, basta clicar na guia “Image” (Imagem).
Por padrão, o PublishPress tentará encontrar um gravatar que esteja vinculado ao endereço de e-mail do autor. Para usar uma foto de autor diferente, clique no botão de opção “Imagem personalizada”.
Depois de fazer isso, clique em “Select Image” (Selecionar imagem). Agora você pode escolher qualquer imagem da biblioteca de mídia do WordPress ou carregar uma nova imagem.
Em seguida, basta clicar no botão “Update” (Atualizar).
Seu site agora usará essa nova imagem como a foto do autor.
DICA PRO: se você gostou dessa ferramenta, recomendamos que dê uma olhada em todo o conjunto de plug-ins do PublishPress. Eles oferecem muitas ferramentas realmente poderosas que podem ajudá-lo a produzir o melhor conteúdo possível.
Esperamos que este artigo tenha ajudado você a aprender como adicionar a foto de um autor no WordPress. Você também pode ver nossa comparação dos melhores plug-ins de associação do WordPress ou consultar nosso guia especializado sobre como instalar o Google Analytics no WordPress.
Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Arshad says
Always got a perfect solution! Thumbs Up..
WPBeginner Support says
Glad to hear our guide was helpful!
Administrador
Rachel says
I have followed these steps, but there is still no option to add a profile pic – it just shows the ‘blank’ image and no button to ‘add image’.
Any ideas?
WPBeginner Support says
You would want to reach out to the plugin’s support if the add image option is not available and they should be able to assist.
Administrador
Amanda Don Williams says
Thanks…. awesome plugin very easy to use…
WPBeginner Support says
Glad you like our article
Administrador
Aditya says
Hi, i have a user registration page on which user registers as a contributor. Then he/she can submit blogs for moderation. However, on that registration page i want users to add their photos mandatorily so we don’t have to rely on them adding it later from their profiles or do the task ourselves.
WPBeginner Support says
To set a requirement like that, you would want to take a look at our article here: https://www.wpbeginner.com/plugins/how-to-create-a-custom-user-registration-form-in-wordpress/
Administrador
Sébastien says
How to show avatar on the frontpage? This method only show on the loaded pages.
WPBeginner Support says
If you are displaying your posts on your home page instead of a static home page then you would need to reach out to the support for your specific theme to edit the theme’s template
Administrador
Helen says
Thank you! Been trying to work this out for ages!!
WPBeginner Support says
Glad our tutorial could help
Administrador
Tony says
If anyone else is wondering why your photo isn’t showing up in author bio, it may be because there’s also separate settings for the plugin itself. You have to check the box that says, “display author avatars”. At first all I did was went to the author settings and uploaded the photo not realizing that there was extra settings for the plugin itself.
Alexander says
awesome resource….my picture appeared in a twinkle of an eye.thank you very much
Jason says
Doesn’t seem to show my picture. It uploads and shows in the Author page in Word Press but not showing on the actual site. Help!
nestor fuhr says
after proving a dozen plugin…. this is the only that works correctly. Thank you
Adey Jones says
I am using this plugin on a site that also uses co-authors plus as some posts are written by 2 people, but this plugin only allows 1 author image to display, how can I amend the userphoto_the_author_photo() to display both authors images in 1 post?
Tim says
Hey, just wanted to add that there’s a function for exactly that:
<?php echo get_avatar( get_the_author_meta( 'ID' ), 32 ); ?>
32 being the size of the image but that’s optional. If you only want to add a picture of the author, this function seems better than a plugin.
Source: https://codex.wordpress.org/Function_Reference/get_avatar#Return_Values
Constantin Colac says
Thanks mate. I was actually surprised people go for a plugin instead of a function..
You get some good karma from me
Ryan says
Is there a way around having to deal with Gravatar.com or whatever? It seems crazy it isn’t just a built in feature of WordPress.
Simon Green says
Just use gravatar! Tried this plug-in and was not satisfied. I don’t want the author photo pasted everywhere that there’s a post, multiple times on the site. No good.
Keith Agnew says
Awesome Plugin. Worked perfect immediately. Thanks!!!
Raj Kumar says
Thanks, but can we do it without any plugin?
Keme Kenneth says
Simple Local Avatars is working fine for me. Thanks all.
Yoopd says
Thank you!!!
heny astuti says
it works..tx
Juan Manuel says
Hello!
Thanks for sharing this info. However I am not sure if this is what I need. When I write a post on my website (http://juanmacarlupu.com.ar/blogdetraduccion) at the end of each post it says: “This article was written by: Juan Manuel Macarlupu Peña” and a default picture and mi bio. I have tried everything on earth (or that’s what I think) and I cant change that default picture. Can you help me with that?
I would reaaaaaally appreciate it.
Editorial Staff says
It might be easier to just use Gravatar – https://www.wpbeginner.com/beginners-guide/what-is-gravatar-and-why-you-should-start-using-it-right-away/
Administrador
Juan Manuel says
I think it goes without saying that it worked!
Thank you sooooo much!!!
Regards,
Kat says
Hi
Can you help, I had this plugin working fine on a test site but not on the live site – the user pictures appear in the user back-end but not on the post or author pages?
Does anyone have any ideas why this would happen?
thanks
Kat
Editorial Staff says
Extremely hard to tell without looking at the site.
Administrador
Shonda Rogers says
So I have to download the plugin to get the image to show on google searches, am I correct? I have everything else setup and linked with google+ profile, email verification etc. I was thinking the image would show up from my google+ profile. But it sounds like I need the WP plugin as well. Can you please confirm?
Editorial Staff says
No, this is for WordPress itself. If you want to show author picture next to google search results, then you need this article:
https://www.wpbeginner.com/wp-tutorials/how-to-get-googles-verified-authorship-for-your-wordpress-blog/
Administrador
Nida's Beauty Bag says
Is there any way that a non wordpress user can use an image while commenting on my blog??? whenever people comment on my blog , if they are non-wordpress user no display picture is shown
Editorial Staff says
Most WordPress themes come with Gravatar support. If your users are signed up with Gravatar, then their picture will show up. Like your picture did in this comment.
https://www.wpbeginner.com/beginners-guide/what-is-gravatar-and-why-you-should-start-using-it-right-away/
Administrador
Joey says
A better and more updated plugin: Simple Local Avatars (search wordpress plguin reposiroty)
No need of editing any files.
Ken says
Joey, that plugin you posted is useless and very broken. The User Photo plugin is the best one out there right now and works perfectly!
kuyax says
joey is the best, it’s working perfectly…
thanks dude…
Emilio says
Thanks Joey! Simple Local Avatars was awesome! For anyone downloading this plugin, there plugin settings are not in the “settings” or “tools” section. Just upload the plugin and go to the “Users” section. The upload form will be in the users information where you put the bio, email, and other social media contact info.
Nadir says
Thanks Joey, it works… perfect… saved me from frustration
Jennifer says
Thank you! It realy works fine!
Sham says
The image is not displaying in all user lists. Can any one help ?
wpbeginner says
@Sham You have to make sure that you have the php code to display the image in your template.
caspian says
We have a theme that has a registration/profile page on the front end. any idea on how to add the upload image option to the front end? thanks.
ushackers says
really helpful post
ArsalanTosifi says
Hi
I have successfully uploaded user photo plugin. Successfully imported image. But image does not display. What is missing?
Rahoof PM says
@ArsalanTosifi me also have the same problem.
wpbeginner says
@Rahoof PM @ArsalanTosifi You do not have the code in your theme to display it. You have to add the user photo code. Click on the plugin page, they have the code there.
Ruth Martin says
Hi!
Thank you for this post and plugin! I have been searching for something and am so happy to have found my answer!
Thanks again!
Ruth M
Brian says
Any idea on how to integrate this with bbpress discussions?
thanks
Editorial Staff says
Nope. We haven’t really looked into bbPress yet.
Administrador
Aaron says
Hi,
I have about 200 jpeg photossaved, and I would like to put them in the userphoto folder and have them become that person’s photo, and the user can come back and change it if they wish. I tested this out by placing a photo admin.jpeg in the folder, but it did not take effect. do you know how I can do a mass upload of photos for userphoto?
Thanks,
Aaron
Editorial Staff says
You can’t just FTP stuff because the value is also stored in the database. It is better to ask all your editors to add the pictures by themselves.
Administrador
Omaha Homes says
Yeah this is nice good wp plugin to share author’s picture.
TeShadow says
Thankyou for this Useful plugin
Rick says
Thank you for highlighting this plug-in.
Luke Jones says
Thank you, this is one thing that has stressed me out.