Volete aggiungere una casella biografica dell’autore ai vostri post su WordPress?
Il riquadro della biografia dell’autore è una piccola sezione in cui è possibile visualizzare informazioni sull’autore del post, mostrare i collegamenti ai social media e altro ancora. Tuttavia, alcuni temi di WordPress non hanno questa funzione integrata, oppure è possibile personalizzarla.
In questo articolo vi mostreremo come aggiungere facilmente un box informativo sull’autore al vostro blog WordPress.
Perché aggiungere un riquadro informativo sull’autore in WordPress?
Per impostazione predefinita, la maggior parte dei temi WordPress visualizza il nome dell’autore su un post del blog, ma non altre informazioni su di lui.
Mostrare la persona reale che sta dietro al contenuto aiuta a creare credibilità con i lettori e può rafforzare l’autorità del sito.
Anche se una pagina “Chi sono” può essere utile, non tutti i lettori si prenderanno il tempo di visitarla. Inoltre, se avete un sito WordPress con più autori, un box autore può essere utile ai vostri lettori che vogliono saperne di più sull’autore di ogni post.
Le Author Box offrono inoltre agli autori un ulteriore incentivo a contribuire più spesso e a interagire con i lettori, poiché possono condividere il proprio sito web e i link dei social media per aumentare i propri follower.
Se volete che un maggior numero di utenti invii contenuti al vostro sito web, un box informativo per gli autori è un ottimo modo per attirare scrittori in cerca di visibilità e di nuovo pubblico.
Detto questo, vi mostriamo come aggiungere un riquadro informativo sull’autore in WordPress. Utilizzate i link rapidi qui sotto per passare direttamente al metodo che desiderate utilizzare.
- Method 1: Adding Author Info Box Using Your WordPress Theme Settings
- Method 2: Adding Author Info Box in WordPress Using a Free WordPress Plugin
- Method 3: Display Author Info Box in WordPress Sidebar Widget Area
- Method 4: Adding Author Info Box by Adding Code to WordPress
- Method 5: Adding Author Info Box in WordPress With AIOSEO's Author SEO
- Bonus: Displaying Author Info Box in WordPress with a Premium Page Builder Plugin
Metodo 1: Aggiungere il riquadro informativo sull’autore utilizzando le impostazioni del tema di WordPress
Alcuni dei migliori temi WordPress sono dotati di un riquadro informativo sull’autore che viene visualizzato automaticamente sotto ogni articolo.
Per prima cosa, occorre verificare se il tema attuale supporta un riquadro informativo sull’autore.
Per farlo, basta andare su Utenti ” Tutti gli utenti nel pannello di amministrazione di WordPress.
Quindi, passare il mouse sul profilo utente che si desidera modificare e fare clic sul link “Modifica”.
Si accede così alla schermata di modifica del profilo.
Scorrere la pagina fino alla sezione “Informazioni biografiche” per aggiungere la biografia dell’autore. È anche possibile utilizzare l’HTML in questo campo per aggiungere manualmente i link ai profili dei social media dell’autore.
La foto del profilo dell’autore viene recuperata automaticamente dal servizio Gravatar. Se l’autore ha già creato un account, questa viene visualizzata automaticamente.
Una volta terminato, assicurarsi di fare clic sul pulsante “Aggiorna profilo” in fondo alla pagina per salvare le modifiche.
A questo punto, potete visualizzare qualsiasi articolo del vostro sito scritto da quell’autore e vedrete il riquadro della biografia dell’autore in tempo reale.
Metodo 2: Aggiungere un riquadro informativo sull’autore in WordPress utilizzando un plugin gratuito per WordPress
Se il vostro tema non ha l’opzione di mostrare il riquadro della biografia dell’autore o se volete personalizzarne l’aspetto, questo metodo fa al caso vostro.
Per farlo, utilizzeremo il plugin Author Bio Box. Si tratta di uno dei migliori plugin per WordPress che consente di aggiungere semplicemente un box biografico personalizzabile al proprio sito.
La prima cosa da fare è installare e attivare il plugin. Per maggiori dettagli, consultate la nostra guida per principianti su come installare un plugin di WordPress.
Dopo l’attivazione, è necessario visitare Impostazioni ” Author Bio Box per configurare le impostazioni del plugin.
Qui si possono scegliere i colori, le dimensioni del gravatar per la foto dell’autore, la posizione in cui visualizzare il riquadro della biografia dell’autore e altro ancora.
Una volta terminato, assicurarsi di fare clic sul pulsante “Salva modifiche” in fondo alla schermata per memorizzare le modifiche.
Successivamente, è necessario visitare Utenti ” Tutti gli utenti e fare clic sul link “Modifica” sotto l’utente a cui si desidera aggiungere una biografia.
Quindi, scorrere fino alla sezione “Informazioni di contatto” nella schermata di modifica del profilo.
Qui è possibile aggiungere i link ai social media per i profili dei vostri autori. Il plugin mostrerà solo le icone dei social network in cui è stato inserito un URL.
Successivamente, scorrere fino alla sezione “Informazioni biografiche” per aggiungere la biografia dell’autore.
È anche possibile utilizzare l’HTML in questo campo per aggiungere manualmente i link o utilizzare le opzioni di formattazione HTML di base.
Una volta terminato, assicurarsi di fare clic sul pulsante “Aggiorna profilo” per salvare le modifiche al profilo utente.
È ora possibile visitare qualsiasi articolo scritto da quell’utente per vedere la casella informativa sull’autore in azione.
Metodo 3: Visualizzare il riquadro informativo sull’autore nell’area widget della barra laterale di WordPress
Volete mostrare le informazioni sull’autore nella barra laterale o nell’area widget, invece che sotto l’articolo? Se sì, questo metodo fa al caso vostro, perché consente di mostrare le informazioni sull’autore in un widget della barra laterale.
Per questo metodo, è necessario installare e attivare il plugin Meks Smart Author Widget. Per maggiori dettagli, consultate la nostra guida passo passo su come installare un plugin di WordPress.
Dopo l’attivazione, è necessario visitare Aspetto ” Widget nella dashboard di WordPress.
Quindi, fare clic sull’icona del blocco aggiuntivo “Più” nell’area del widget “Sidebar”.
Successivamente, è necessario cercare “Meks Smart Author”.
Quindi, fare clic sul blocco per selezionarlo.
Il widget è dotato di una serie di opzioni per personalizzare la sua visualizzazione.
L’opzione più importante da selezionare è la casella di controllo accanto a “Rileva automaticamente l’autore”.
Quindi, fare clic sul pulsante “Salva” per memorizzare le impostazioni del widget.
Ora potete visitare il vostro sito web per vedere il widget della biografia dell’autore in azione.
Questo plugin recupera le informazioni sugli utenti dal loro profilo WordPress. Voi o i vostri autori dovete inserire le informazioni bio modificando i loro profili.
Per saperne di più sulla modifica dei profili utente, consultate la nostra guida su come aggiungere nuovi utenti e autori al vostro blog WordPress.
Metodo 4: Aggiunta di un riquadro informativo sull’autore tramite l’aggiunta di codice a WordPress
Questo metodo è riservato agli utenti più esperti perché richiede la modifica dei file del tema di WordPress. Se non l’avete mai fatto prima, consultate la nostra guida su come copiare e incollare il codice in WordPress.
Quindi, è possibile aggiungere il seguente snippet di codice al file functions.php, in un plugin specifico per il sito o utilizzando un plugin di snippet di codice.
function wpb_author_info_box( $content ) {
global $post;
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) {
// Get author's display name
$display_name = get_the_author_meta( 'display_name', $post->post_author );
// If display name is not available then use nickname as display name
if ( empty( $display_name ) )
$display_name = get_the_author_meta( 'nickname', $post->post_author );
// Get author's biographical information or description
$user_description = get_the_author_meta( 'user_description', $post->post_author );
// Get author's website URL
$user_website = get_the_author_meta('url', $post->post_author);
// Get link to the author archive page
$user_posts = get_author_posts_url( get_the_author_meta( 'ID' , $post->post_author));
if ( ! empty( $display_name ) )
$author_details = '<p class="author_name">About ' . $display_name . '</p>';
if ( ! empty( $user_description ) )
// Author avatar and bio
$author_details .= '<p class="author_details">' . get_avatar( get_the_author_meta('user_email') , 90 ) . nl2br( $user_description ). '</p>';
$author_details .= '<p class="author_links"><a href="'. $user_posts .'">View all posts by ' . $display_name . '</a>';
// Check if author has a website in their profile
if ( ! empty( $user_website ) ) {
// Display author website link
$author_details .= ' | <a href="' . $user_website .'" target="_blank" rel="nofollow">Website</a></p>';
} else {
// if there is no author website then just close the paragraph
$author_details .= '</p>';
}
// Pass all this info to post content
$content = $content . '<footer class="author_bio_section" >' . $author_details . '</footer>';
}
return $content;
}
// Add our function to the post content filter
add_action( 'the_content', 'wpb_author_info_box' );
// Allow HTML in author bio section
remove_filter('pre_user_description', 'wp_filter_kses');
Questo codice recupera semplicemente le informazioni sull’autore e le visualizza sotto i post di WordPress.
Si consiglia di aggiungere questo codice con WPCode, il miglior plugin di snippets di codice per WordPress. Rende sicura e facile l’aggiunta di codice personalizzato in WordPress, senza modificare il file functions.php del tema.
Per iniziare, è necessario installare e attivare il plugin gratuito WPCode. Se avete bisogno di aiuto, consultate questo tutorial su come installare un plugin di WordPress.
Dopo l’attivazione, accedere alla pagina Code Snippets ” + Add Snippet dalla dashboard di WordPress.
Da qui, trovare l’opzione “Aggiungi il tuo codice personalizzato (nuovo snippet)” e fare clic sul pulsante “Usa snippet” sotto di esso.
Quindi, aggiungete un titolo per il vostro snippet e incollate il codice di cui sopra nella casella “Anteprima codice”.
Non dimenticate di scegliere “PHP Snippet” come tipo di codice dall’elenco a discesa sul lato destro dello schermo.
A questo punto, è sufficiente spostare l’interruttore da ‘Inattivo’ ad ‘Attivo’ e premere il pulsante ‘Salva snippet’.
A questo punto, è necessario creare uno stile per questo riquadro informativo sull’autore, in modo che abbia un aspetto gradevole e si adatti al vostro tema WordPress. Se non conoscete i CSS, consultate la nostra guida su come aggiungere facilmente CSS personalizzati al vostro sito WordPress.
Quindi, andare su Aspetto ” Personalizzazione nel pannello di amministrazione di WordPress.
Si apre il pannello di personalizzazione del tema WordPress. È necessario fare clic sulla scheda “CSS aggiuntivi”.
Consente di aggiungere codice CSS personalizzato direttamente al tema WordPress e di vedere le modifiche in tempo reale.
Ecco alcuni esempi di codice CSS per aiutarvi a iniziare:
.author_bio_section{
background-color: #F5F5F5;
padding: 15px;
border: 1px solid #ccc;
}
.author_name{
font-size:16px;
font-weight: bold;
}
.author_details img {
border: 1px solid #D8D8D8;
border-radius: 50%;
float: left;
margin: 0 10px 10px 0;
}
Quindi, aggiungere il codice direttamente nella casella “CSS aggiuntivo”.
Quindi, fare clic sul pulsante “Pubblica” per rendere effettive le modifiche.
Ora è possibile visitare uno dei post del blog WordPress e vedere il nuovo riquadro informativo sull’autore.
Ecco come appariva il riquadro della biografia dell’autore sul nostro tema.
Metodo 5: Aggiungere un riquadro informativo sull’autore in WordPress con Author SEO di AIOSEO
All in One SEO (AIOSEO) è il miglior plugin SEO per WordPress sul mercato, con oltre 3 milioni di utenti. È possibile utilizzarlo anche per aggiungere box di informazioni dettagliate sull’autore in qualsiasi post o pagina di WordPress.
A differenza degli altri metodi, questo metodo vi aiuterà a migliorare la vostra SEO utilizzando il potente addon Author SEO di AIOSEO. Vi permette di mettere in mostra la vostra esperienza, competenza e autorevolezza per soddisfare le linee guida sui contenuti E-E-A-T di Google.
Per iniziare, è necessario installare e attivare il plugin All in One SEO. Se avete bisogno di aiuto, consultate il nostro tutorial su come installare un plugin di WordPress.
Nota: è possibile utilizzare una versione gratuita di All in One SEO. Tuttavia, per accedere alle funzioni SEO per gli autori, è necessario il piano AIOSEO Pro.
Una volta attivato e configurato il plugin, andare su Utenti ” Tutti gli utenti dalla dashboard di WordPress. Quindi, fare clic sul nome dell’autore o sul link “Modifica” sotto di esso.
Si aprirà la pagina “Modifica utente” per quell’autore. In questa pagina, è necessario fare clic sulla scheda “Author SEO”.
Dalla sezione Author SEO, è possibile aggiungere informazioni come l’istruzione, il datore di lavoro e il titolo di lavoro per convalidare i propri segnali E-E-A-T.
Potete anche aggiungere categorie di argomenti che conoscete per mostrare le vostre aree di competenza ai motori di ricerca e ai lettori.
Nota: queste categorie di argomenti devono essere inserite prima nel pannello di impostazioni Aspetto di ricerca “ Avanzate “ Argomenti dell’esperienza dell’autore in All in One SEO.
Successivamente, è possibile scorrere verso il basso per aggiungere un’immagine dell’autore, un estratto dell’autore e una biografia completa dell’autore.
È inoltre possibile visualizzare i profili social nel riquadro delle informazioni sull’autore, inserendo l’URL del proprio profilo per Facebook, Instagram, Twitter, YouTube e altro ancora.
C’è anche un’impostazione “Aggiungi bio dell’autore ai post” che si può attivare o disattivare.
Se questa impostazione è attivata, All in One SEO visualizzerà automaticamente una biografia compatta dell’autore in fondo ai vostri post.
È possibile disattivare l’impostazione se si desidera aggiungere manualmente le biografie compatte o complete dell’autore in fondo ai post utilizzando i blocchi bio dell’autore di AIOSEO. Per maggiori dettagli, consultare questa guida sull’aggiunta di blocchi autore nei post.
Per questa esercitazione, lasceremo l’impostazione attivata per aggiungere automaticamente le biografie degli autori ai post.
Una volta terminata la compilazione delle informazioni sull’autore, non dimenticate di fare clic sul pulsante “Aggiorna utente” per memorizzare le modifiche.
Ora, potete visitare uno dei vostri post di WordPress per vedere il vostro nuovo riquadro informativo sull’autore in azione.
Bonus: Visualizzazione del riquadro informativo sull’autore in WordPress con il plugin Premium Page Builder
Se volete creare un tema WordPress completamente personalizzato e poter visualizzare facilmente un riquadro informativo sull’autore in qualsiasi punto del vostro sito, vi consigliamo di utilizzare SeedProd.
SeedProd è il miglior costruttore di pagine drag and drop per WordPress. Consente di creare facilmente temi e layout di pagina personalizzati per WordPress, senza bisogno di codifica.
Viene fornito con oltre 300 modelli di temi e pagine che si possono importare con un solo clic. I modelli di tema includono tutte le parti necessarie per un sito web, tra cui la homepage, la pagina singola, il post singolo, l’archivio del blog, la pagina dei contatti e altro ancora.
È possibile personalizzare il tema in qualsiasi modo utilizzando il costruttore visuale del tema. SeedProd semplifica le cose offrendo oltre 90 blocchi già pronti che si possono trascinare e rilasciare su qualsiasi pagina, compreso un blocco “Author Box”.
Dopo aver aggiunto il blocco Author Box alla pagina, è sufficiente fare clic su di esso per modificarne i dettagli.
È possibile modificare la tipografia, la dimensione dei caratteri, l’allineamento, il colore dello sfondo, il bordo, attivare o disattivare l’immagine del profilo e altro ancora.
Una volta terminata la personalizzazione, è sufficiente attivare il nuovo tema SeedProd.
Ora è possibile visitare il proprio sito WordPress e vedere il riquadro informativo personalizzato sull’autore.
Per maggiori dettagli, consultate il nostro tutorial su come creare un tema WordPress personalizzato con SeedProd.
Speriamo che questo articolo vi abbia aiutato a capire come aggiungere un box informativo sull’autore ai post di WordPress. Potreste anche voler consultare la nostra guida su come scegliere il miglior hosting WordPress e la nostra selezione di esperti dei migliori software di chatbot AI per il vostro sito web.
Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e 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!
Dennis Muthomi says
thank you for this incredibly helpful guide!!!
my WordPress theme had a basic author bio box, but it doesn’t allow me to include links to the author’s social media profiles.
I was about to hire a developer to add that feature but I have tried out Author Info Box as you have highlighted and it has fixed this issue.
You saved me some bucks there…haha!
WPBeginner Support says
Glad we could help!
Admin
Michael says
Simple and perfect, thank yo!
WPBeginner Support says
You’re welcome
Admin
Jiří Vaněk says
Thanks for providing the complete php code. In Elementor, I solve it with a widget, but outside of Elementor, I would very much like to use a ready-made solution from you.
Gleni says
This only works for posts. I usually post everything from pages, not posts. How can I get this sorted?
WPBeginner Support says
We don’t have a specific method we would recommend for pages at the moment but we will look into the possibilities in the future.
Admin
Bojan says
Please, replace this code with this if you want to show only on blog posts:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) {
with:
// Detect if it is a single post with a post author
if ( is_singular(‘post’) && isset( $post->post_author ) ) {
WPBeginner Support says
Thanks for sharing this for those looking for that customization
Admin
Mark Beese says
I would like to add something like the option of related stories to the author box, but show a random selection of others posts/stories from that author. Is that possible?
WPBeginner Support says
For something like that, we would recommend taking a look at our guide below for showing related posts by the same author:
https://www.wpbeginner.com/wp-tutorials/how-to-display-related-posts-by-same-author-in-wordpress/
Admin
Ramon says
This is excellent, works out of the box.
Keep in mind that you might want to add a “title” attribute to a href links ..
WPBeginner Support says
Thanks for sharing your recommendation.
Admin
Kelly says
I came here for your opinion because my SEO teacher (paid class) says that even though my website/URL is my name, Google needs to know who wrote the posts. I write them (with the exception of guest writers from time to time). You said, “For a single-author WordPress blog, you can just add an about me page.” Do you mean just have an about me page on your blog? Or link to the about me page within the author box at the end of posts?
WPBeginner Support says
That would be a personal preference decision but having an about page publicly visible was what we recommended. It is not required in every article.
Admin
Rozard says
I added the code in Theme function.php. It’s working better than a plugin. I just need little bit help if that is possible. My website is not in English, which is right to left. I added a css code that start paragraph from right to left, now the problem is that most of the author bios are in English, is there way to modify the alignment of bios to make left to right?
I really appreciate your help. Thank you
WPBeginner Support says
You would need to add in the CSS for the author box:
direction: ltr;
Admin
Jerry says
I have an author info box that shows at the end of every blog post. I want it to be shown on my About me static page as well apart from the blog post. How can I enable this?
WPBeginner Support says
It would depend on what is adding the author box, if your theme is adding it you would want to reach out to your theme’s support for having it appear on a page.
Admin
usef says
Hi. I used the method 4. It worked like a charm. Thank you for sharing this.
WPBeginner Support says
You’re welcome, glad you found our guide helpful
Admin
Lauren Colquhoun says
Hello
Could you please tell me how to only display the author bio box for certain categories? Thank you
WPBeginner Support says
If you are using the widget method you can conditionally display the widget using the method from our guide here: https://www.wpbeginner.com/plugins/how-to-show-or-hide-widgets-on-specific-wordpress-pages/
Admin
Gustavo Razzetti says
Hi I used the plugin and now it’s showing two bios–the one generated by the plugin and the one created by WordPress (which looks uglier and I don’t want to use). How I avoid having two bios?.
WPBeginner Support says
If your theme included its own author bio, you would need to reach out to the theme’s support for how to remove it
Admin
Prajyot Kumbharjuvekar says
Looks like the Guerrilla’s Author Box plugin is no longer available… Do you can you suggest any alternatives? thank you
WPBeginner Support says
While we don’t have a recommended plugin at the moment, we will certainly look to update this article with an alternative
Admin
Louis Chaussé says
Hi,
I have a problem with method #3
I added the php code to the functions.php file and the css to additonal css section in WP
Everything is working except that the bio is displaying twice on the page…
Once at the proper place at the bottom of the post, and it is also displaying at the top of the page (before header)
Any thoughts?
Warwick Levey says
Is there anyway to disable to author box for profiles which don’t have any info in the author bio?
We use a custom field to add authorship to guest posts, and we don’t have a bio for most of our guests, and the blank box at the bottom of the page is z bit of an eyesore for these posts.
Thanks in advance for any help
Elizabeth Thompson says
Does this mean I have to give them user access????
This doesn’t make sense for me? THey’re random people?
Thanks
re: Each author on your site will need to add their biographical information and links to their user profiles. They can do this by logging in to their WordPress account on your website and then click on the Profile link from the WordPress admin menu.
WPBeginner Support says
Hi Elizabeth,
Random people should not have access to your WordPress site. Please see our beginner’s guide about WordPress user roles and permissions.
Admin
Morteza says
Hi to all!
How to add EDD vendor name in EDD receipt?
I add this to my downloads page by adding:
echo get_the_author_meta( ‘name_of_store’, $post->post_author );
and
echo get_the_author_meta( ‘display_name’, $post->post_author );
,
It seems in this case I need to hook this, BUT HOW?
thanks
Mick says
Thanks for this which is what I was looking for. Although now I see it with the bio in 2 places, what I would like is that the bio at the end of each post different to the bio down the side.
Is this possible or do I have to remove Meks and replace it with some other plugin?
Thanks
Wilson Lee says
Hey,
This was just what I was looking for. I think I will stick with installing a plug-in though.
Coding makes my head hurt.
Thanks for the great wordpress content!
Wilson
Matt Stephens says
hahaha! I thought exactly the same thing while reading through the post. Why go through the stress of coding, when there’s a plugin to get the job done?
Manjit Kumar says
It’s great and so much helpful…
ingresos pasivos says
Hi, I was wondering how I can add a margin higher than my box using the code that you left us.
My box shows very close to the letters of my post, I hope your answer.
A big greeting.
Vishal Rana says
very helpful thanks a lot
Hina Ilyas says
I have added the Guerrilla’s author box, but author details still don’t show on my posts. I can only see these three lines:
Author: Hina Ilyas
Filed Under: Weekly Rundown
Tags:
i don’t understand what is the issue!
Magnus says
If I use method 3, it only shows the author info box when viewing a post.
The post itself doesn´t show at all.
Any suggestions?
Thank you in advance.
Kingsford says
Please how can I add the author box to specific categories only?
Pls help.
Andy W. says
You may have found the answer for this already (it’s kind of disappointing someone makes this posts and doesn’t respond to the questions), but I used this to display the box on only certain categories.
If you want to display the author box only on single posts that are assigned to any category, change:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) {
to
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && has_category() ) {
If you want to display the box ONLY in a certain category, then change the above to:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && in_category(‘X’) ) {
Change “X” to the category ID.
To include more than one category, simply replay “X” with an array() of category IDs:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && in_category( array(‘X’, ‘X’) ) ) {
Joseph says
Hi andy can you help me, i-followed the method #3, how can i hide it to my wocommerce product page description here’s the site
Joseph says
i just solved it, i used this code of yours:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && has_category() ) {
thanks for this
Shraddha Kapoor says
Hi. I am facing a problem while adding hyperlink in the author bio. I tried add hyper link using anchor text at edumovlive.com but failed. Can anyone help me to get hyperlink in author bio.
Gabrielle says
Hi, i added custom admin column: thumbnail to all users table
, how can i print each user gravatar, by user id, inside this column?
I added sucessfully featured image column inside all post table,
that links each image to each post via edit link, is there a way to add gravatar column in all users that links to edit user?
Anis Chity says
How can I add links to my posts within the author box?
Nishat says
Thanks for the post, great help. Is it possible to make the author box interactive? Like the bottom of this page?
I would like something similar to the ‘as well as’ feature but I know nothing about CSS.
Agus Tamanuri says
Nice Post ..
Thanks for Your Article,
gagan says
I added author box using method 3 but it showing author box above sharing icons how to move this down near comment section??
Annie says
Do I need add links to social media profiles to the author, any idea?
Amir says
For method #3 which is really the simplest and the fastest (involves some php coding skills) I added a break tag on the line where it shows picture and text as follows. Because it looks odd when only the first line of the bio shows up next to the picture and the rest of the bio separately.
$author_details .= ” . get_avatar( get_the_author_meta(‘user_email’) , 90 ) . ” . nl2br( $user_description ). ”;
Deyo says
The hard coding worked perfectly with a little style tweaking, many thanks!
under the // Get author’s biographical information or description is the some kind of way to control the word or character count without having to edit the user bio itself? Maybe similar to controlling the excerpt length on a post page in functions?
King says
I dont know how to add codes via my functions.php i might get an error. Any plugin to add codes into functions.php?
Wajiha Rizvi says
You have to add it after the closing php tag that looks like this ( ?> ) in you child theme’s functions.php file.
Lorraine Reguly says
Hi. I have three sites. For some reason, my author box automatically shows up on one of them. I had to install the Guerilla plugin to get it to show up on the others.
Why would one site show it and not the other two???
Shafi Khan says
Hey There, Great article. The video attached to the post is not for instructions on “how to install a plugin” as written above it.
It it is a mistake, please correct it
sonja says
Hi there, having trouble with the picture for the author box. I’ve moved the author widget to the sidebar for it to appear and it has along with the text but scratching my head on what to do to get the picture to show up also. I’m using a WordPress theme. Thanks for all your help!
Christopher Simmons says
Heya… dealing with this today. Theme has a nice author box, but missing the socials at bottom.
Love your roll your own example, which we’re messing with “right now” — any chance you might expand on the example to include pulling in the “if socials” from the user meta, below the author’s website link ?
TIA ! Thanks for another great article
(12 year WP user — so not just for beginners! )
Peter Brown says
Did you ever figure this out Christopher? I’m having the same issue with my theme.
Natanael David says
Hi, thanks for this! I’m having a lot of help from you guys! For this and other functions.
One question: How can I set the max lenght in the Author description. Also, can I use a custom text for the box description in the single page and a full description in the Author page?
moon says
Hi,
Thanks for your helpful information.
I have a problem, but I don’t know how to describe it. I added a picture into article, and set it style=”float: right; margin-left: 20px;”
It can show the web page well upon browsed on desktop computer, left hand side is content, and right hand side show picture.
but it cannot show the web page well upon browsed on mobile phone, please refer below URL:
Is it possible to show text first, and the picture under the text not around the picture?
If so, how?
Please try to help me out.
Thanks in advance.
Best regards,
Mario says
Hi guys,
Do you know a way of inserting the author’s widget next to the post entry, but not in a sidebar? just as here:
thanks!
WPBeginner Support says
You may want to add a widget area right next to the content.
Admin