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

Cómo añadir un cuadro de información sobre el autor en las entradas de WordPress (5 maneras)

Nota editorial: Ganamos una comisión de los enlaces de socios en WPBeginner. Las comisiones no afectan a las opiniones o evaluaciones de nuestros editores. Más información sobre Proceso editorial.

¿Quieres añadir un cuadro con la biografía del autor a tus entradas de WordPress?

La biografía del autor es una pequeña sección en la que puedes mostrar información acerca del autor de la entrada, enlazar a los medios sociales y mucho más. Sin embargo, algunos temas de WordPress no tienen esta característica incorporada, o es posible que desee personalizarlo.

En este artículo, le mostraremos cómo añadir fácilmente un cuadro de información del autor a su blog de WordPress.

How to add an author info box in WordPress posts (4 ways)

¿Por qué añadir un cuadro de información sobre el autor en WordPress?

Por defecto, la mayoría de los temas de WordPress muestran el nombre del autor en una entrada de blog, pero ninguna otra información acerca de él.

Mostrar a la persona real que está detrás del contenido ayuda a crear credibilidad entre sus lectores y puede reforzar la autoridad de su sitio.

Aunque una página “Acerca de mí” puede ayudar, no todos los lectores se tomarán el tiempo de visitarla. Además, si tienes un sitio WordPress con varios autores, entonces un cuadro de autor puede ser útil para tus lectores que quieran saber más acerca del autor detrás de cada entrada.

Los buzones de autor también ofrecen a los autores un incentivo adicional para contribuir más a menudo e interactuar con los lectores, ya que pueden compartir su propio sitio web y enlaces a medios sociales para aumentar sus seguidores.

Si quiere que más usuarios envíen contenidos a su sitio web, un cuadro de información sobre el autor es una buena forma de atraer a escritores que buscan exposición y nuevas audiencias.

Dicho esto, vamos a mostrarte cómo añadir un cuadro de información de autor en WordPress. Simplemente utilice los enlaces rápidos a continuación para saltar directamente al método que desea utilizar.

Método 1: Añadir el cuadro de información del autor usando los ajustes de su tema de WordPress

Algunos de los mejores temas de WordPress vienen con un cuadro de información del autor que se mostrará automáticamente debajo de cada artículo.

En primer lugar, deberás comprobar si tu tema actual es compatible con / da soporte a un cuadro de información del autor.

Para ello, vaya a Usuarios ” Todos los usuarios en su panel de administrador de WordPress.

A continuación, pase el cursor sobre el perfil de usuario que desee modificar y haga clic en el enlace “Editar”.

Go to users page

Accederá a la pantalla de edición de perfiles.

Desplácese por la página hasta la sección “Información biográfica” para añadir la biografía del autor. También puede utilizar HTML en este campo para añadir manualmente enlaces a los perfiles de medios sociales del autor.

Enter author bio

La foto de perfil del autor se obtiene automáticamente del servicio Gravatar. Si el autor ya ha establecido una cuenta, se mostrará automáticamente.

Una vez que haya terminado, asegúrese de hacer clic en el botón “Actualizar perfil” situado en la parte inferior de la página para guardar los cambios.

Ahora, puedes ver cualquier artículo en tu sitio web escrito por ese autor, y verás tu cuadro de biografía de autor en directo.

Author bio example theme

Método 2: Añadir el cuadro de información del autor en WordPress usando un plugin gratuito de WordPress

Si tu tema no tiene la opción de mostrar un cuadro de biografía del autor o quieres personalizar su aspecto, entonces este método es para ti.

Para ello, vamos a utilizar el plugin Author Bio Box. Es uno de los mejores plugins de biografía de autor para WordPress que te permite añadir una biografía de autor personalizable a tu sitio.

Lo primero que tienes que hacer es instalar y activar el plugin. Para más detalles, consulte nuestra guía para principiantes sobre cómo instalar un plugin de WordPress.

Una vez activado, debe visitar Ajustes ” Autor Bio Box para establecer los ajustes del plugin.

Aquí puedes elegir los colores, el tamaño de gravatar para la foto del autor, la ubicación para mostrar el cuadro de biografía del autor y mucho más.

Author Bio Box plugin settings

Una vez que haya terminado, asegúrese de hacer clic en el botón “Guardar cambios” situado en la parte inferior de la pantalla para guardar los cambios.

A continuación, debe visitar Usuarios ” Todos los usuarios y enlazar el enlace “Editar” situado debajo del usuario al que desea añadir una biografía.

Go to users page

A continuación, desplácese hasta la sección “Información de contacto” de la pantalla de edición del perfil.

Aquí puedes añadir enlaces a medios sociales para los perfiles de redes sociales de tus autores. El plugin solo mostrará los iconos de las redes sociales en las que introduzcas una URL.

Add author contact info

A continuación, desplácese hasta la sección “Información biográfica” para añadir la biografía del autor.

También puede utilizar HTML en este campo para añadir enlaces manualmente o utilizar las opciones básicas de formato HTML.

Add author bio

Una vez que haya terminado, asegúrese de hacer clic en el botón “Actualizar perfil” para guardar los cambios en su perfil de usuario.

Ahora puede visitar cualquier artículo escrito por ese usuario para ver el cuadro de información del autor en acción.

Author info box example

Método 3: Mostrar el cuadro de información del autor en el área de widget de la barra lateral de WordPress

¿Desea mostrar la información del autor en la barra lateral o en el área de widget, en lugar de debajo del artículo? Si es así, entonces este método es para usted, ya que le permite mostrar el cuadro de información del autor en un widget de la barra lateral.

Para este método, necesitarás instalar y activar el plugin Meks Smart Author Widget. Para más detalles, consulte nuestra guía paso a paso sobre cómo instalar un plugin de WordPress.

Para activarlo, visite Apariencia ” Widgets en su escritorio de WordPress.

A continuación, haga clic en el icono “Más” para añadir un bloque en la zona del widget “Barra lateral”.

Add new widget block

A continuación, busca “Meks Smart Author”.

A continuación, haga clic en el bloque para seleccionarlo.

Add Meks Smart Author block

El widget incluye varias opciones para personalizar su visualización.

La opción más importante que debe comprobar es la casilla de verificación situada junto a “Detectar automáticamente el autor”.

Enable auto detect author

A continuación, haz clic en el botón “Guardar” para establecer los ajustes del widget.

Ya puedes visitar tu sitio web para ver el widget de biografía del autor en acción.

Sidebar author bio box example

Este plugin obtiene la información del usuario desde su perfil de WordPress. Usted o sus autores deben completar la información de sus biografías editando sus perfiles.

Para saber más acerca de la edición de perfiles de usuario, consulte nuestra guía sobre cómo añadir nuevos usuarios y autores a su blog de WordPress.

Método 4: Añadir el cuadro de información del autor añadiendo código a WordPress

Este método es para usuarios más avanzados porque requiere que edites los archivos de tu tema de WordPress. Si no lo ha hecho antes, consulte nuestra guía sobre cómo copiar y pegar código en WordPress.

A continuación, puede añadir el siguiente fragmento de código a su archivo functions.php, en un plugin específico del sitio o utilizando un plugin de fragmentos de código.

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');

Este código simplemente obtiene la información del autor y la muestra debajo de las entradas de WordPress.

Recomendamos añadir este código con WPCode, el mejor plugin de fragmentos de código para WordPress. Hace que sea seguro y fácil de añadir código personalizado en WordPress, sin necesidad de editar el archivo functions.php de su tema.

Para empezar, necesitas instalar y activar el plugin gratuito WPCode. Si necesitas ayuda, consulta este tutorial sobre cómo instalar un plugin de WordPress.

Una vez activado, vaya a la página Fragmentos de código ” + Añadir fragmento desde su escritorio de WordPress.

A continuación, busque la opción “Añadir su código personalizado (nuevo fragmento)” y haga clic en el botón “Usar fragmento” situado debajo.

Add new snippet

A continuación, añada un título a su fragmento de código y pegue el código anterior en el cuadro “Vista previa del código”.

No olvide elegir “Fragmento de código PHP” como tipo de código en la lista desplegable de la parte derecha de la pantalla.

Paste code snippet into WPCode and choose code type

Después, basta con cambiar el conmutador de “Inactivo” a “Activo” y pulsar el botón “Guardar fragmento de código”.

Activate and save code snippet WPCode

Ahora, necesitas darle estilo a esta caja de información del autor para que se vea bien y combine con tu tema de WordPress. Si no conoce CSS, consulte nuestra guía sobre cómo añadir fácilmente CSS personalizado a su sitio de WordPress.

A continuación, vaya a Apariencia ” Personalizador en su panel de administrador de WordPress.

Aparecerá el panel Personalizador del tema de WordPress. Debe hacer clic en la pestaña “CSS adicional”.

WordPress customizer additional CSS

Esto le permite añadir código CSS personalizado directamente a su tema de WordPress y ver los cambios en vivo.

Aquí tienes algunos ejemplos de código CSS que te ayudarán a empezar:

.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;
}

A continuación, añada el código directamente en el cuadro “CSS adicional”.

A continuación, haga clic en el botón “Publicar” para aplicar los cambios.

Add CSS code and publish

Ahora, puede visitar una de las entradas de su blog de WordPress y ver su nuevo cuadro de información de autor.

Este es el aspecto de la biografía del autor en nuestro tema.

Author bio after code example

Método 5: Añadir el cuadro de información del autor en WordPress con AIOSEO’s Author SEO

All in One SEO (AIOSEO) es el mejor plugin SEO para WordPress del mercado, con más de 3 millones de usuarios. También puedes utilizarlo para añadir cuadros de información detallada sobre el autor en cualquier entrada o página de WordPress.

A diferencia de los otros métodos, este método le ayudará a mejorar su SEO utilizando la potente extensión SEO para autores de AIOSEO. Te permite mostrar tu experiencia, conocimientos y autoridad para cumplir con las directrices de contenido E-E-A-T de Google.

Para empezar, necesitas instalar y activar el plugin All in One SEO. Si necesitas ayuda, consulta nuestro tutorial sobre cómo instalar un plugin de WordPress.

Nota: Existe una versión gratuita de All in One SEO que puede utilizar. Sin embargo, para acceder a las características de SEO para autores, necesitas el plan AIOSEO Pro.

Una vez que el plugin esté activado y establecido, vaya a Usuarios ” Todos los Usuarios desde el escritorio de WordPress. A continuación, haga clic en el nombre del autor o en el enlace “Editar” situado debajo.

Edit a user profile in WordPress

Se abrirá la página “Editar usuario” para ese autor. En esta página, tienes que hacer clic en la pestaña “Autor SEO”.

Click on the Author SEO tab

En la sección SEO del autor, puede añadir información como formación, empleador y cargo para validar sus señales E-E-A-T.

Add author information for E-E-A-T

También puede añadir categorías de debates acerca de los que tenga conocimientos para mostrar sus áreas de especialización a los motores de búsqueda y a los lectores.

Add topics of expertise to author info

Nota: Estas categorías de temas primero necesitan ser introducidas yendo al panel de ajustes de Apariencia de Búsqueda Avanzado Temas de Experiencia del Autor en SEO Todo en Uno.

A continuación, puede desplazarse hacia abajo para añadir una imagen del autor, un extracto del autor y una biografía completa del autor.

Add author bio and image

También puedes mostrar perfiles sociales en tu cuadro de información de autor introduciendo la URL de tu perfil para Facebook, Instagram, Twitter, YouTube, etc.

Add social profiles to author info box

También hay un ajuste de “Añadir biografía del autor a las entradas” que puedes activar / desactivar.

Si este ajuste está activado, All in One SEO mostrará automáticamente una biografía compacta del autor en la parte inferior de sus entradas.

Enable or disable Append Author Bio to Posts setting

Puedes desactivar el ajuste si quieres añadir manualmente biografías de autor compactas o completas en la parte inferior de las entradas utilizando los bloques de biografía de autor de AIOSEO. Para más detalles, consulta esta guía sobre cómo añadir bloques de autor en tus entradas.

En este tutorial, dejaremos activados los ajustes para añadir automáticamente las biografías de los autores a las entradas.

Cuando haya terminado de rellenar los datos de autor, no olvide hacer clic en el botón “Actualizar usuario” para guardar los cambios.

Ahora, puede visitar una de sus entradas de WordPress para ver su nuevo cuadro de información de autor en acción.

Author info box created with AIOSEO

Bonus: Mostrar el cuadro de información del autor en WordPress con un plugin premium de maquetador de páginas

Si desea crear un tema de WordPress completamente personalizado y ser capaz de mostrar fácilmente un cuadro de información del autor en cualquier lugar de su sitio, le recomendamos que utilice SeedProd.

SeedProd es el mejor editor de arrastrar y soltar página para WordPress. Te permite crear fácilmente temas de WordPress personalizados y diseños de página, sin necesidad de código.

Viene con más de 300+ plantillas de temas y páginas que puedes importar en 1 clic. Las plantillas de temas incluyen todas las partes que necesita para un sitio web, incluyendo una página de inicio, una sola página, una sola entrada, archivo de blog, página de contacto, y mucho más.

SeedProd theme templates

Puedes personalizar tu tema como quieras utilizando el maquetador visual de temas. SeedProd te lo pone fácil ofreciéndote más de 90 bloques ya creados que puedes arrastrar y soltar en cualquier página, incluido un bloque ‘Caja de autor’.

Drag and drop Author Box block in SeedProd

Después de añadir el bloque Cuadro de autor a su página, simplemente haga clic en él para editar los detalles.

Puedes cambiar la tipografía, el tamaño de letra, la alineación, el color de fondo, el borde, activar o desactivar la foto de perfil y mucho más.

Configure author box settings

Una vez que haya terminado de personalizar, simplemente active su nuevo tema SeedProd.

Enable your SeedProd theme

Ahora puede visitar su sitio WordPress y ver su cuadro de información de autor personalizado.

Example of a SeedProd author info box

Para más detalles, consulte nuestro tutorial sobre cómo crear un tema de WordPress personalizado con SeedProd.

Esperamos que este artículo te haya ayudado a aprender cómo añadir un cuadro de información del autor a las entradas de WordPress. Puede que también quieras ver nuestra guía sobre cómo elegir el mejor alojamiento para WordPress y nuestra selección de los mejores chatbots para tu sitio web.

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.

Descargo: Nuestro contenido está apoyado por los lectores. Esto significa que si hace clic en algunos de nuestros enlaces, podemos ganar una comisión. Vea cómo se financia WPBeginner , por qué es importante, y cómo puede apoyarnos. Aquí está nuestro proceso editorial .

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.

El último kit de herramientas de WordPress

Obtenga acceso GRATUITO a nuestro kit de herramientas - una colección de productos y recursos relacionados con WordPress que todo profesional debería tener!

Reader Interactions

63 comentariosDeja una respuesta

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

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

      Administrador

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

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

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

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

      Administrador

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

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

      Administrador

  9. Lauren Colquhoun says

    Hello

    Could you please tell me how to only display the author bio box for certain categories? Thank you

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

      Administrador

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

      Administrador

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

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

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

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

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

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

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

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

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

    • 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

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

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

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

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

  25. 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 ). ”;

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

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

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

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

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

  31. 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! )

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

  33. 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,

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

Deja tu comentario

Gracias por elegir dejar un comentario. Tenga en cuenta que todos los comentarios son moderados de acuerdo con nuestros política de comentarios, y su dirección de correo electrónico NO será publicada. Por favor, NO utilice palabras clave en el campo de nombre. Tengamos una conversación personal y significativa.