Change author of wordpress post

New Page

How to Add an Author Info Box in WordPress Posts (4 Ways)

Last updated on February 3, 2022 by the editorial team | Reader Disclosure Disclosure : Our content is reader approved. This means that if you click on some of our links, we may earn a commission. Find out how WPBeginner is funded, why it matters, and how you can support us.

Share 565 Fresh Tweeter Fresh Facebook Messenger WhatsApp E-mail

Do you want to add an author bio box to your WordPress posts? 

The author bio box is a small section where you can display information about the author of the post, display links to social networks, etc. However, some WordPress themes don’t have this feature built-in, or you might want to customize it.

In this article, we are going to show you how to easily add an author info box to your WordPress blog.

How to Add an Author Info Box in WordPress Posts (4 Ways) How to Add an Author Info Box in WordPress Posts (4 Ways)

Why Add an Author Info Box in WordPress?

By default, most WordPress themes display the author’s name on a blog post, but no other information about them.

Showing the real person behind the content helps build credibility with your readers and can boost your site’s authority.

While an “About Me” page can help, not all readers will take the time to visit it. Also, if you have a multi-author WordPress site, an author box can be useful for your readers who want to know more about the author behind each post.

Author boxes also encourage authors to contribute more often and interact with readers, as they can share their own website and social media links to build a following.

If you want more users to submit content to your website, an author info box is a great way to attract writers looking for exposure and new audiences.

That said, we are going to show you how to add an author info box in WordPress. Just use the quick links below to jump straight to the method you want to use.

  • Add author box in WordPress theme settings
  • Add an author box in WordPress using a WordPress plugin
  • Add Author Box to WordPress Sidebars and Widgets
  • Add author box by adding code to WordPress

Method 1 – Add an author info box using your WordPress theme settings

Some of the best WordPress themes will come with an author information box that will automatically show up under each post. 

First, you’ll want to see if your current theme has built-in support for an author info box. 

Para hacer esto, simplye vaya a Usuarios » Todos los usuarios en su panel de administración de WordPress. 

Luego, coloque el cursor sobre el perfil de usuario que dessea cambiar y haga click en el enlace ‘Editar’.

Go to users page Go to users page

Esto lo lleva a la pantalla de edición de perfil. 

Deberá desplazarse hacia abajo en la página hasta la sección “Información biográfica” para aggregar la biografía del autor. También puede usar HTML en este campo para agregar manualmente enlaces a los perfiles de redes sociales del autor.

Enter author biography Enter author biography

The profile photo of the author is obtained automatically from the Gravatar service. If el autor ya ha configurado una cuenta, esto se mostrará automatically.

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

Ahora, puede ver cualquier artículo en su sitio web escrito por ese autor, y verá su cuadro de biografía de autor en vivo.

Author Bio Example Subject Author bio sample theme

Método 2. Agregar cuadro de información del autor en WordPress usando un complemento de WordPress

If your theme doesn’t have the option to show an author bio box or you want to customize how it looks, then this method is for you.

To do this, we’ll be using the Author Bio Box plugin. It’s one of the best author bio box plugins for WordPress that lets you simply add a customizable author bio box to your site.

First thing you need to do is install and activate the plugin. For more details, see our beginner’s guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Author Bio Box to configure the plugin settings.

Here, you can choose the colors, gravatar size for the author photo, location to display the author bio box, and more. 

Configuration of the Autor Bio Box complement Author Bio Box plugin settings

Once you’re done, make sure to click the ‘Save Changes’ button at the bottom of the screen to store your changes.

Next, you need to visit Users » All Users and click on the ‘Edit’ link below the user you want to add a bio.

Go to the usuarios page Go to users page

Then, scroll down to the ‘Contact Info’ section on the edit profile screen.

Here, you can add social media links for your author’s social media profiles. The plugin will only show icons for social networks where you enter a URL.

Add author contact information Add author contact info

After that, scroll down to the ‘Biographical Info’ section to add the author’s bio.

You can also use HTML in this field to manually add links or use basic HTML formatting options.

Agregar biography of the author Add author bio

Once you’re finished, make sure to click the ‘Update Profile’ button to save your user profile changes.

You can now visit any article written by that user to see the author info box in action.

Example of cuadro de información del autor Author info box example

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

Do you want to show the author info in the sidebar or widget area, instead of below the article? If yes, then this method is for you because it allows you to show the author info box in a sidebar widget.

For this method, you’ll need to install and activate the Meks Smart Author Widget plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Appearance » Widgets in your WordPress dashboard. 

Then, click the ‘Plus’ add block icon in the ‘Sidebar’ widget area.

Agregar nuevo blocks widgets Add new widget block

After that, you need to search for ‘Meks Smart Author’.

Then, click on the block to select it.

Añadir blocks Meks Smart Author Add Meks Smart Author block

The widget comes with a number of options for you to customize how it displays.

The most important option you need to check is the checkbox next to ‘Automatically detect author’.

Enable automatic detection of author Enable auto detect author

Then, click on the ‘Save’ button to store your widget settings. 

You can now visit your website to see the author bio widget in action.

Example of cuadro de biografía del autor de la barra lateral Sidebar author bio box example

This plugin fetches user information from their WordPress profile. You or your authors need to fill in their bio information by editing their profiles.

To learn more about editing user profiles, see our guide on how to add new users and authors to your WordPress blog.

Método 4. Agregar el cuadro de información del autor agregando código a WordPress

This method is for more advanced users because it requires you to edit your WordPress theme files. If you haven’t done this before, then see our guide on how to copy and paste code in WordPress.

Then, you can add the following code snippet to your functions.php file, in a site-specific plugin, or by using a code snippets plugin.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

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

This code simply fetches the author information and displays it below WordPress posts.

Now, you need to style this author info box to look nice and match your WordPress theme. If you don’t know CSS, then you can use a plugin like CSS Hero instead.

To learn more, see our guide on how to easily add custom CSS to your WordPress site.

Next, navigate to Appearance » Customize in your WordPress admin panel. 

This brings up the WordPress theme customizer panel. You need to click on the ‘Additional CSS’ tab.

WordPress customizer additional CSS WordPress customizer additional CSS

This lets you add custom CSS code directly to your WordPress theme and see the live changes.

Here is some sample CSS code to help you get started:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

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

}

Next, add the code directly to the ‘Additional CSS’ box.

Then, click the ‘Publish’ button to make your changes live. 

Add CSS code and publish Add CSS code and publish

Now, you can visit one of your WordPress blog posts and see your new author info box.

Here is how the author bio box looked on our theme.

Author bio after code example Author bio after code example

We hope this article helped you learn how to add an author info box to WordPress posts. You may also want to see our guide on how to choose the best WordPress hosting and our expert picks of the best AI chatbots software for your website. 

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.

Comparte 565 Cuota Pío Cuota Facebook Messenger WhatsApp Correo electrónico

¿Cómo cambiar el autor de una publicación en WordPress?

To change the author of an existing post, go to your admin area > Posts. Click on Quick Edit > Author and from the drop-down menu choose the new author and click on Update.

RELATED ARTICLES

  • How do I add content to my WordPress website?

  • How to adjust the writing settings in WordPress?

  • How to adjust the reading settings in WordPress?

  • How to add/remove/manage users in WordPress?

How to Change the Author of a Post in WordPress

Last updated on September 27th, 2021 by Editorial Staff | Reader DisclosureDisclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

Comparte 383 Cuota Pío Cuota Facebook Messenger WhatsApp Correo electrónico

Do you want to change the author of a post in WordPress?

Sometimes you may need to change a post to a different author than the user who first uploaded it. You can do this without having to copy and paste the post using a different account.

In this article, we’ll show you how to simply change the author of a post in WordPress with just a few clicks.

How to Change the Author of a Post in WordPress How to Change the Author of a Post in WordPress

Before You Change the Author of a WordPress Post

If you just want to show your own name on a post written by another user on your WordPress site, then you’re ready to follow the instructions in this article.

But, if you want to show a different user as the author, then you need to make sure this user exists on your WordPress site first. See our guide on how to add new users and authors in WordPress for detailed instructions.

You can view and manage all the users on your WordPress site by visiting the Users menu item when logged in with your WordPress administrator account.

View and Manage All the Users on Your WordPress Site View and Manage All the Users on Your WordPress Site

If you only want to change the way your name is displayed, then check out our guide on how to add or change your full name in WordPress.

Having said that, let’s look at how to quickly and easily change the author of a post in WordPress. There are a few ways to do this, so use the links below to jump to the method you want to use.

  • How to Change the Author From the Block Editor
  • How to Change the Author from the Classic Editor
  • How to Change the Author from Quick Edit
  • How to Change the Author of Multiple WordPress Posts

How to Change the Author From the Block Editor

If you use the Gutenberg block editor, then you first need to open the post or page where you want to change the author name. On the post edit screen, you need to make sure Post is selected in the right-hand sidebar.

Make Sure Post Is Selected Make Sure Post Is Selected

Then, locate Author under the ‘Status & Visibility’ section and you’ll see a list of available authors to choose from. You need to select the new author name from the drop down menu.

Select the New Author Name from the List Select the New Author Name from the List

Once you’ve done that, make sure you click ‘Update’ or ‘Save Draft’ to save your changes.

That’s it, you have successfully changed the author of a post in the Gutenberg block editor.

How to Change the Author from the Classic Editor

If you’re using the classic WordPress editor, then simply open the post or page where you want to change the author name. You will likely not see the author panel in the editor, especially if you recently started your WordPress blog.

You will need to click on the Screen Options button at the top right corner of the screen. This will show you a menu with several options that you can show or hide on your post edit screen.

Go ahead and click on the checkbox next to the Author option.

Haga clic en la casilla de verificación junto al autor Click the checkbox next to the author

The author panel should now be visible on the screen. You need to click on the current author’s name and then you will see a list of available authors to choose from.

List of authors List of authors

Once you have chosen a new author, make sure you click ‘Update’ or ‘Save Draft’ to save your changes.

Congratulations, you have successfully changed the author of a post in the classic editor.

How to Change the Author from Quick Edit

You can also quickly change the author of a post from the Quick Edit screen while viewing all posts from the Posts » All Posts page.

First, should hover your mouse over the post you wish to change and a menu should appear. Now you need to click the Quick Edit link.

Click the quick edit link Click the quick edit link

The Quick Edit metabox will now be displayed. You’ll need to click on the current author’s name and select a new author from the list. After that, you should click the Update button to save your changes.

Select a new author from the list Select a new author from the list

Well done, you have changed the post’s author using Quick Edit.

How to Change the Author of Multiple WordPress Posts

Changing the author for multiple posts using the methods above would take a lot of time. Luckily, there’s an easier way to quickly change the author for multiple WordPress posts at once.

To bulk update authors, you should first navigate to the Posts » All Posts page. This will list all the posts on your WordPress site.

Par défaut, WordPress affiche 20 publications par page. Si vous souhaitez afficher plus de messages, vous devez cliquer sur Options d’affichage et modifier le nombre de messages que vous souhaitez afficher.

Display 40 posts per page in WordPress Display 40 posts per page in WordPress

Vous devez maintenant sélectionner les messages dont vous souhaitez modifier l’auteur.

Après avoir sélectionné les publications, vous devez sélectionner Modifier dans la liste déroulante “Actions groupées”, puis cliquer sur le bouton Appliquer.

Select Edit from bulk actions Select Edit in Bulk Actions

WordPress va maintenant vous montrer la métabox ‘Bulk Edit’. Vous devez sélectionner le nouvel auteur en cliquant sur le menu déroulant à côté de l’option Auteur.

Click on the drop-down menu next to the author Click on the drop-down menu next to the author

N’oubliez pas de cliquer sur le bouton Mettre à jour pour enregistrer vos modifications.

Ça y est, vous avez réussi à changer l’auteur de plusieurs articles WordPress sans les éditer individuellement.

How to optimize your author profiles for SEO

Finally, you may want to optimize your author profile pages to improve your SEO ranking. The author profile is what appears at the bottom of published blog posts with their name.

Author Info Box Plugin Preview Author Info Box Plugin Preview

Here you can add a short bio, links, and even your social media profiles.

By displaying your author’s biography, you can build credibility and give your readers the opportunity to learn more about you and the authors of your site.

WordPress allows you to add a short author biography, but to add social media links you will need to use a WordPress author biography plugin.

Other than that, you will also want to improve your author archive pages where WordPress displays a list of posts written by that author.

To optimize author pages for SEO, we recommend using All in One SEO. It is the best WordPress SEO plugin used by over 2 million websites. For more details, see our guide on how to install a WordPress plugin.

Upon activation, simply go to Users » Profile to edit your author profile. Next, scroll down to the “All in One SEO Pro” section where you can add links to your Facebook and Twitter profiles and create an author bio.

SEO Author Profile Referencing the author's profile

Once you’ve made the necessary changes, be sure to click “Update Profile” at the bottom of the page.

Users will now see your new author bio at the bottom of any post you post or change your name.

We hope this article helped you learn how to change a post’s author in WordPress. You can also check out our expert list of the best WordPress plugins for websites and our comparison of the best online course platforms.

If you liked this article, please subscribe to our YouTube channel for WordPress tutorial videos. You can also find us on Twitter and Facebook.

Share 383 Share Tweeter Share Facebook Messenger WhatsApp E-mail


Video Change author of wordpress post

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…