Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här lägger du till en författares foto i WordPress

Vill du add to en författares foto i WordPress?

Som standard visar de flesta WordPress-teman författarens gravatar som deras profilbild. Författare kan dock vilja ersätta denna Gravatar med en annan image.

I den här artikeln visar vi dig hur du addar en författares foto i WordPress.

How to add an author's photo in WordPress

När behöver du add to en författares foto i WordPress?

Om du runar en multi-site WordPress, kan du välja att add to en författarinfo box i WordPress posts. Dessa författarbio-boxar visar vanligtvis författarens profilfoto, en kort bio och länk till deras website eller sociala profiler.

Som standard använder de flesta WordPress-themes personens Gravatar som författarfoto. Men ibland kanske du föredrar att använda en annan image för författarfotot.

Som ägare av en WordPress website kan du till och med ha regler om vilken typ av foton du vill visa i dina författares bio boxes. Till exempel kanske du kräver att dina författare använder en professionell huvudbild.

Om författarens Gravatarprofil inte uppfyller dina regler, kanske du vill edit deras profil och uploada en image som passar bättre till din WordPress blogg.

Med detta i åtanke, låt oss se hur du kan add to en författares foto i WordPress.

Så här addar du en författares foto i WordPress

Det enklaste sättet att add to ett författarfoto i WordPress är att använda PublishPress Authors plugin. Detta plugin låter författare redigera sin egen profil och författarfoto genom att lägga till ett new ”Author Profile” area till deras WordPress dashboard.

Changing your author photo

Det ger också site admins befogenhet att editera författarens profil, inklusive att ändra deras foto.

Först måste du installera och aktivera PublishPress Authors plugin. Om du behöver hjälp kan du vänligen läsa vår guide om hur du installerar ett plugin för WordPress.

Vid aktivering, head över till Författare ” Settings. Du kan sedan gå vidare och klicka på tabben ”Display”.

PublishPress' author settings

När du har gjort det öppnar du dropdown ’Layouts’ och väljer en layout som innehåller ett författarfoto.

Standard layouten är ”Boxed”. Detta visar författarens information i en box, komplett med författarens foto.

How to add an author's photo in WordPress

Layouten ”Centrerad” liknar boxad, men med all författarens information centrerad i författarens bio box.

”Inline med avatar” och ”Enkel lista” är båda layouts som inkluderar utrymme för ett foto av författaren. Här är ett exempel på layouten Simple List.

Avatar Simple List

Tänk bara på att de två layouterna inte har plats för en bio. Även om författaren har lagt till en bio kommer den inte att visas på din website.

När du har valt din layout klickar du på knappen ”Save Changes”. Nu kan du besöka din website och se författarens foton på dina posts och pages i WordPress.

Alla som har registrerat sig på din site med rollen Författare kommer nu att kunna uploada ett foto med hjälp av inställningarna för ”Author Profile” i sin WordPress dashboard.

Så här ändrar du en författares foto i WordPress

Som administratör kan du också använda PublishPress Authors för att ändra alla enskilda författarfoton som visas på din website. Detta är användbart om en författare väljer ett foto som inte passar bra för din site.

Om du vill ändra en författares foto går du till Authors ” Authors.

Adding an author's photo to WordPress

Du kommer nu att se en lista över alla författare som är registrerade på din WordPress blogg.

Härifrån kan du klicka på en författares ”Edit Author Profile”-länk.

Changing the author's photo in WordPress

Sedan klickar du bara på tabben ”Image”.

Som standard kommer PublishPress att försöka hitta en Gravatar som är länkad till författarens email address. Om du vill använda en annan författarbild klickar du på alternativknappen ”Custom image”.

Changing the author's profile picture

När du har gjort det klickar du på ”Select Image”. You can now choose any image from your WordPress media library, or upload a new image.

Sedan klickar du bara på knappen ”Update”.

Saving a new author photo in WordPress

Din website kommer nu att använda denna new image som författarens foto.

PRO TIPS: Om du gillar det här verktyget rekommenderar vi att du kontrollerar hela sviten av PublishPress tillägg. De erbjuder många riktigt kraftfulla tools som kan hjälpa dig att producera bästa möjliga content.

Vi hoppas att den här artikeln hjälpte dig att lära dig hur du lägger till ett författarfoto i WordPress. Du kan också gå igenom vår jämförelse av de bästa tilläggen för medlemskap i WordPress, eller se vår expertguide om hur du installerar Google Analytics i WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

59 kommentarerLämna ett svar

  1. 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!

  2. Dennis Muthomi says

    The solution that I have REALLY wanted!!
    I have been looking for ways to add an author photo without using Gravatar option.
    You always the best solution! THanks WPBeginner.

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

      Administratör

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

      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

      Administratör

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

  6. 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!

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

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

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

  9. 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.
    :)

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

  11. 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?

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

  13. 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!

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

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

  15. ArsalanTosifi says

    Hi

    I have successfully uploaded user photo plugin. Successfully imported image. But image does not display. What is missing?

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

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.