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

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

Do you want to display information about your authors on your WordPress posts? This is a good way to introduce your team to readers and will also boost your Google E-E-A-T signals, which is great for SEO.

You can display author information for each post in a bio box. This small section introduces the author, highlights their expertise and experience, and shows social media links. However, some WordPress themes don’t have this feature built-in, or you may want to customize it.

In this article, we will show you how to write an author bio that boosts your Google E-E-A-T signals and easily add an author info box to your WordPress blog.

How to Add a WordPress Author Bio That Boosts Google E-E-A-T

Writing an Author Bio That Boosts Google E-E-A-T

Showing the actual person behind your WordPress content helps build credibility with readers and can strengthen your site’s authority.

That’s because Google’s E-E-A-T guidelines look for expertise, experience, authoritativeness, and trustworthiness when selecting reliable sources of information. They then rank this content near the top of the search results.

Google's E-E-A-T Diagram

Here’s how to write an author bio that contributes to each E-E-A-T factor:

Expertise

A bio lets you demonstrate the author’s deep understanding of the subject matter, including their training and qualifications in the field.

Make sure you list relevant degrees, certifications, or professional affiliations that showcase their knowledge and qualifications in their field.

You should also briefly mention any awards and recognitions that demonstrate or verify the author’s expertise.

Experience

A bio allows you to summarize the author’s first-hand experience on the topics they commonly write about, including their significant achievements and roles. The goal is to paint a picture of how their experience has equipped them to write authoritative content on their chosen topic:

  • Use a specific number of years to showcase the author’s experience.
  • Instead of just mentioning their industry, list specific areas of experience within that field where they’ve improved their skills.
  • Briefly mention relevant work experience, projects, or volunteer work that demonstrates how they acquired their expertise.

Authoritativeness

A bio lets you highlight the author’s recognition by experts in the field, such as awards they have received and publications they have been featured in.

Mention any publications they’ve contributed to, guest posts they’ve written for reputable websites, or speaking engagements they’ve participated in. This demonstrates their standing within their niche.

You will also want to briefly touch on their involvement in industry organizations or communities. This indicates they’re actively engaged in the field.

Trustworthiness

A bio lets you be transparent about who is writing your content. Here are some tips:

  • Maintain a professional and informative writing style in your author bios.
  • Briefly explain how your author’s content, insights, and perspective benefits the readers.
  • Consider including links to their social media profiles where they engage with the audience to establish them as real people.

Top Tips: The bio should be informative but concise, ideally 3-5 sentences. Make sure you write in the third person for a more professional tone. Finally, include a professional headshot to add a personal touch and make the bio visually appealing.

Notice how we have optimized this WPBeginner author bio for Google E-E-A-T:

Author Bio Displayed on a WordPress Post

Here’s an author bio template you can adapt for your own website:

[Name] is a [Job Title/Area of Expertise] with over [Number] years of experience in [Industry]. [He/She/They] has a strong background in [specific areas of experience] gained through [relevant work experience, projects, or volunteer work]. [He/She/They] holds a [Degree] in [Field of Study] from [University Name] and is a certified [Certification] professional. [He/She/They] has [briefly mention achievements or publications]. [Name] is passionate about [area of interest] and enjoys helping readers by [explain how your content benefits them].

Now that you have written your author bio, you need to display it on your WordPress website.

Displaying the Author Bio in WordPress

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

While you can introduce your authors on your site’s ‘About’ page, not every reader will visit it.

We recommend displaying an author info box on each blog post the author has written. This will let your readers know more about the person behind each post on a multi-author WordPress site.

It’s also a great way to attract new writers and encourage them to submit content to your site.

Let’s take a look at a number of methods you can use to add an author bio or info box in WordPress. Simply use the quick links below to jump straight to the method you want to use:

1. Adding Author Info Box Using Your WordPress Theme Settings

Some of the best WordPress themes will come with an author info box that automatically displays below each article.

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

To do this, simply go to Users » All Users in your WordPress admin panel. 

Then, hover over the user profile you want to change and click the ‘Edit’ link.

Editing a User Profile in WordPress

This brings you to the profile edit screen. 

You’ll want to scroll down the page to the ‘Biographical Info’ section to add the author’s bio. You can also use HTML in this field to manually add links to the author’s social media profiles.

Adding the User Bio to the Author Profile

The author profile photo is automatically fetched from the service Gravatar. If the author has already set up an account, then this will display automatically.

Once you’ve finished, make sure you click the ‘Update Profile’ button at the bottom of the page to save your changes.

Now, you can view any article on your website written by that author, and your author bio box will be live.

WordPress Theme Bio Preview

2. Adding Author Info Box in WordPress Using a Free WordPress Plugin

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 will be using the Simple Author 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.

Note: There is also a pro version that offers additional features such as displaying an author box before or after content, adding website links, including guest and co-authors, additional social icon styles, and more.

The 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 Appearance » Simple Author Box to configure the plugin settings.

Here, you can choose the visibility, colors, typography, gravatar style for the author’s photo, and more.

Simple Author Box Settings

Once you are done, make sure to click the ‘Save Settings’ button 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 for.

Editing a User Profile in WordPress

Now, you can add the user’s bio to their profile.

Simply scroll down to the ‘About the user’ section and paste the bio into the ‘Biographical Info’ field.

Adding the User Bio to the Author Profile

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

Next, look for the ‘Social Media Links (Simple Author Box)’ section at the bottom of the page.

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.

You need to select the social media profile you wish to add from the dropdown menu and then add the correct URL.

Adding Social Media Links to Simple Author Box

You can add additional social links by clicking the button labeled ‘+ Add new social platform’.

Once you are 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.

3. Display Author Info Box in WordPress Sidebar Widget Area

Do you want to show the author’s information in the sidebar or widget area instead of below the article? If yes, 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 Simple Author Box plugin we used in the previous method. For more details, see our step-by-step guide on how to install a WordPress plugin.

Tip: The Simple Author Box plugin provides a widget for classic themes and a block for block themes in the WordPress block editor and the full site editor.

For this tutorial, we will show you how to quickly add the Simple Author Block widget to a classic theme’s widget area.

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

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

Note: If you don’t see the Widgets menu option, then your website is using a block theme. You can see our tutorial on how to use the WordPress full site editor for more details.

Add new widget block
Add new widget block

After that, you need to search for ‘Simple Author Box’. You will see two icons: the Simple Author Box widget and the block.

Then, click the first icon to select the Simple Author Block widget.

Select the Simple Author Block Widget

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

It’s important to make sure the ‘Autodetect’ option is selected from the ‘Choose author/user’ drop-down menu. This is the default option, and it will ensure that the post author’s bio is automatically displayed.

Make Sure the Autodetect Option Is Selected

Then, click on the ‘Update’ button at the top of the screen to store your widget settings. 

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

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, as we showed above.

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

4. Adding Author Info Box by Adding Code to WordPress

This method is for more advanced users because it requires editing your WordPress theme files. If you haven’t done this before, 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 or by using a code snippets plugin:

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’s information and displays it below WordPress posts.

We recommend adding this code with WPCode, which is the best code snippets plugin for WordPress. It makes it safe and easy to add custom code in WordPress without editing your theme’s functions.php file.

To get started, you need to install and activate the free WPCode plugin. If you need help, see this tutorial on how to install a WordPress plugin.

Upon activation, go to the Code Snippets » + Add Snippet page from your WordPress dashboard.

From there, find the ‘Add Your Custom Code (New Snippet)’ option and click the ‘Use Snippet’ button underneath it.

Add new snippet

Next, add a title for your snippet and paste the code from above into the ‘Code Preview’ box.

Don’t forget to choose ‘PHP Snippet’ as the code type from the dropdown list on the right side of the screen.

Paste code snippet into WPCode and choose code type

After that, simply toggle the switch from ‘Inactive’ to ‘Active’.

Hit the ‘Save Snippet’ button.

Activate and save code snippet WPCode

Now, you need to style this author info box to look nice and match your WordPress theme. If you don’t know CSS, 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.

If you can’t find the theme customizer, then please see our tutorial on how to fix the missing theme customizer in WordPress.

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:

.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

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 in our theme.

Author bio after code example

5. Adding Author Info Box in WordPress With AIOSEO’s Author SEO Addon

All in One SEO (AIOSEO) is the best WordPress SEO plugin on the market, with over 3 million users. You can also use it to add detailed author info boxes on any WordPress post or page.

This method uses AIOSEO’s powerful Author SEO addon and may improve your SEO more than the other methods.

To get started, you need to install and activate the All in One SEO plugin. If you need help, see our tutorial on how to install a WordPress plugin.

Note: There is a free version of All in One SEO that you can use. However, to access the Author SEO features, you need the AIOSEO Pro plan.

Once the plugin is activated and set up, go to Users » All Users from the WordPress dashboard.

Then, click on the author’s name or the ‘Edit’ link below it.

Edit a user profile in WordPress

This will open up the ‘Edit User’ page for that author.

On this page, you need to click on the ‘Author SEO’ tab.

Click on the Author SEO tab

From the Author SEO section, you can add information like education, employer, and job title.

This information will help validate your E-E-A-T signals.

Add author information for E-E-A-T

You can also add topic categories.

These will showcase the author’s areas of expertise to search engines and readers.

Add topics of expertise to author info

Note: These topic categories first need to be entered by going to the Search Appearance » Advanced » Author Experience Topics settings panel in All in One SEO.

Next, you can scroll down to add an author image, an author excerpt, and a full author bio.

Add author bio and image

You can also display social profiles in your author info box.

Simply enter the profile URLs for Facebook, Instagram, Twitter, YouTube, and more.

Add social profiles to author info box

There’s also an ‘Append Author Bio to Posts’ setting that you can toggle to enable or disable.

If this setting is enabled, All in One SEO will automatically display a compact author bio at the bottom of your posts.

Enable or disable Append Author Bio to Posts setting

You can disable the setting if you want to manually add compact or full author bios at the bottom of posts using AIOSEO’s author bio blocks. For more details, see this guide on adding author blocks in your posts.

For this tutorial, we’ll leave the setting enabled to automatically attach author bios to posts.

Once you’ve finished filling in your author information, don’t forget to click on the ‘Update User’ button to store your changes.

Now, you can visit one of your WordPress posts to see your new author info box in action.

Author info box created with AIOSEO

Bonus: Displaying Author Info Box With a WordPress Page Builder

If you want to create a completely custom WordPress theme and easily display an author info box anywhere on your site, then we recommend using SeedProd.

SeedProd is the best drag-and-drop page builder for WordPress. It lets you easily create custom WordPress themes and page layouts, no coding required.

It comes with over 320+ theme and page templates that you can import in one click. The theme templates include every part of a website, including a homepage, single page, single post, blog archive, contact page, and more.

SeedProd theme templates

You can customize your theme any way you want using the visual theme builder.

SeedProd makes it easy by offering 90+ ready-made blocks, including an ‘Author Box’ block, that you can drag and drop onto any page.

Drag and drop Author Box block in SeedProd

After adding the Author Box block to your page, simply click on it to edit the details.

You can change the typography, font size, alignment, background color, and border, enable or disable the profile picture, and more.

Configure author box settings

Once you’ve finished customizing, simply enable your new SeedProd theme.

To do this, move the ‘Enable SeedProd Theme’ toggle at the top of the page to the On position.

Enable your SeedProd theme

Congratulations, you have added the author info box to your theme.

Now, you can visit your WordPress site and see your custom author info box.

Example of a SeedProd author info box

For more details, see our tutorial on how to create a custom WordPress theme with SeedProd.

FAQ: Frequently Asked Questions About Google E-E-A-T

Now that we have covered how to write an author bio and add it to your WordPress website, let’s answer a few frequently asked questions about Google E-E-A-T.

What is Google E-E-A-T?

E-E-A-T stands for Experience, Expertise, Authoritativeness, and Trustworthiness. It’s a framework that Google uses to assess the quality and credibility of web content.

The more E-E-A-T a page demonstrates, the more likely it is to be seen as a reliable source and rank higher in search results.

The ‘Experience’ factor in E-E-A-T was introduced in 2022. Before that, the framework was known as E-A-T.

Why is Google emphasizing experience now?

The update highlights the importance of firsthand knowledge and experience for specific content. Google wants to make sure users find information written by people with practical experience on the topic.

How much experience do I need to have good E-E-A-T?

You don’t necessarily need years of experience. If you don’t, focus on the other aspects of expertise, authoritativeness, and trustworthiness.

What if my website is new?

Building E-E-A-T takes time. You should focus on creating valuable content, showcasing your authors’ relevant experience, and establishing your site as a reliable source of information. Over time, you’ll build trust with Google and your audience.

Is there a guaranteed way to improve my E-E-A-T score?

No, there’s no magic formula. E-E-A-T will vary depending on your site’s content and purpose.

However, creating informative content, demonstrating experience, and building trust with your audience will keep you on track.

We hope this article helped you learn how to add an author info box to WordPress posts. You may also want to see our detailed guide explaining Google E-E-A-T and our expert pick of the best plugins to efficiently manage WordPress multi-author blogs.

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.

Disclosure: 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. Here's our editorial process.

Editorial Staff

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.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

68 CommentsLeave a Reply

  1. Syed Balkhi

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

    I recently integrated an author box on a blog I manage, and it made a noticeable difference in connecting readers with the authors behind the content. Your guide makes the process straightforward and accessible, which is great for both new and seasoned WordPress users.

    • WPBeginner Support

      Glad our guide was helpful :)

      Admin

  3. Dennis Muthomi

    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

      Glad we could help!

      Admin

    • Mrteesurez

      My own theme does not even has an author box. The issue was fixed with an author box plugin. Choosing to add social media links to an author box is a smart idea. Readers will be able to find more about the authors and gain more social followers.

  4. Michael

    Simple and perfect, thank yo!

    • WPBeginner Support

      You’re welcome :)

      Admin

  5. Jiří Vaněk

    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.

  6. Gleni

    This only works for posts. I usually post everything from pages, not posts. How can I get this sorted?

    • WPBeginner Support

      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

  7. Bojan

    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

      Thanks for sharing this for those looking for that customization :)

      Admin

  8. Mark Beese

    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?

  9. Ramon

    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

      Thanks for sharing your recommendation.

      Admin

  10. Kelly

    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

      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

  11. Rozard

    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

      You would need to add in the CSS for the author box:
      direction: ltr;

      Admin

  12. Jerry

    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

      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

  13. usef

    Hi. I used the method 4. It worked like a charm. Thank you for sharing this.

    • WPBeginner Support

      You’re welcome, glad you found our guide helpful :)

      Admin

  14. Lauren Colquhoun

    Hello

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

  15. Gustavo Razzetti

    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

      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

  16. Prajyot Kumbharjuvekar

    Looks like the Guerrilla’s Author Box plugin is no longer available… Do you can you suggest any alternatives? thank you

    • WPBeginner Support

      While we don’t have a recommended plugin at the moment, we will certainly look to update this article with an alternative

      Admin

  17. Louis Chaussé

    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?

  18. Warwick Levey

    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

  19. Elizabeth Thompson

    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.

  20. Morteza

    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

  21. Mick

    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

  22. Wilson Lee

    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

      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?

  23. Manjit Kumar

    It’s great and so much helpful…

  24. ingresos pasivos

    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.

  25. Vishal Rana

    very helpful thanks a lot

  26. Hina Ilyas

    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!

  27. Magnus

    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.

  28. Kingsford

    Please how can I add the author box to specific categories only?
    Pls help.

    • Andy W.

      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

        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

          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

  29. Shraddha Kapoor

    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.

  30. Gabrielle

    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?

  31. Anis Chity

    How can I add links to my posts within the author box?

  32. Nishat

    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.

  33. Agus Tamanuri

    Nice Post ..

    Thanks for Your Article,

  34. gagan

    I added author box using method 3 but it showing author box above sharing icons how to move this down near comment section??

  35. Annie

    Do I need add links to social media profiles to the author, any idea?

  36. Amir

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

  37. Deyo

    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?

  38. King

    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

      You have to add it after the closing php tag that looks like this ( ?> ) in you child theme’s functions.php file.

  39. Lorraine Reguly

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

  40. Shafi Khan

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

  41. sonja

    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!

  42. Christopher Simmons

    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

      Did you ever figure this out Christopher? I’m having the same issue with my theme.

  43. Natanael David

    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?

  44. moon

    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,

  45. Mario

    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!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.