If you wish to display your author’s Facebook and Twitter links on their WordPress profile page, this article will help you learn a few effective methods to do so.

The user profile page of WordPress does not have any fields for adding profiles of Twitter and Facebook.

  1. Use Author Bio Box

The method is easy and widely recommended by experts.

Step 1: Install and activate the Author Bio Box plugin.

Step 2: Once activation is done, visit the Settings » Author Bio Box page in the WordPress admin for configuring settings for the plugin.

Step 3: Choose the place where you wish to display the author bio box. This plugin can automatically display the author bio box under posts and on the homepage.

Step 4: Now choose a color for background, and text. Also choose the size of border, gravatar etc.

Step 5: Store your settings by clicking on the button ‘save changes’.

Step 6: Go to the Users » All Users page. Click on the edit link available under the user account. You will reach the user profile page. Here, you will see some new social profile fields.

Step 7: Enter the Facebook / Twitter profile URL of author in the respective fields. You may even enter a URL for any other social media as desired.

Step 8: Enter your social profile URLs.

Step 9: Click on the update profile link.

Now you can view any posts written by that specific user. Now you will be able to see their author bio box with icons for their social media profiles such as Twitter, Facebook, etc.

Use Yoast SEO
The method is only for advanced users as it demands editing of WordPress theme files. In case, you use Yoast SEO plugin on your site, then you can use it for adding Facebook and Twitter profile fields in the profile page of the author.

The problem with Yoast is that does not display them automatically in the author bio. However, you can learn the process here.

Step 1: After setting up Yoast plugin, go to Users » All Users page.

Step 2: Now click on the edit link available under the author name.

Step 3: You can see new profile fields for Facebook and Twitter on the user’s profile page. In case of Twitter, you simply require entering the profile fields for a user handle minus @ symbol. For Facebook, enter the full Facebook profile URL.

Step 4: Now click on the ‘button update’ profile to store your changes. If you need assist then feel free to ask us : wpwebsitemaintenanceservices.com

Step 5: Display these fields as links in your theme by adding the code mentioned below to your theme files right where you wish to display the author profile links:

<?php

$twitter = get_the_author_meta( ‘twitter’, $post->post_author );

$facebook = get_the_author_meta( ‘facebook’, $post->post_author );

echo ‘<a href=”https://twitter.com/’ . $twitter .'” rel=”nofollow” target=”_blank”>Twitter</a> | <a href=”‘. $facebook .'” rel=”nofollow” target=”_blank”>Facebook</a>’;

?>

Step 6: Save your changes. Have a look at your post on your website.

Hope this article has helped you learn the method to display Twitter and Facebook profile links of author in WordPress.