Family Encyclopedia >> Electronics

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

Want to showcase your authors' Twitter and Facebook profiles directly on their WordPress profile pages? By default, WordPress doesn't include fields for social media links, but as experienced WordPress developers at WPBeginner, we've got you covered. Follow our proven step-by-step guide to add these links effortlessly.

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

Video Walkthrough

Subscribe to WPBeginner for more expert tutorials. If you prefer reading, scroll down for detailed instructions.

Method 1: Add Social Profiles Using the Author Bio Box Plugin (Recommended for Beginners)

This user-friendly approach requires no coding and works seamlessly on any WordPress site.

First, install and activate the Author Bio Box plugin. See our comprehensive guide on installing WordPress plugins for details.

After activation, head to Settings » Author Bio Box in your WordPress dashboard to customize settings.

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

Choose display locations (e.g., below posts or on the homepage), then tweak colors, Gravatar size, borders, and more. Click Save Changes when done.

Next, navigate to Users » All Users, hover over an author, and click Edit.

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

New fields for Facebook, Twitter, and other social profiles will appear. Enter the full URLs (e.g., https://facebook.com/username for Facebook, https://twitter.com/username for Twitter).

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

Click Update Profile. Now, visit any post by that author—you'll see their bio box with clickable social icons.

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

Site users can update their own profiles similarly. Email them instructions to enhance your site's social connectivity.

Method 2: Display Profiles with Yoast SEO (For Advanced Users)

This requires theme edits, so beginners should use Method 1. Not familiar with code? Check our guide on safely editing WordPress code.

If you're using Yoast SEO (our top-recommended plugin—see our setup guide), it adds social fields automatically.

Go to Users » All Users and edit the author.

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

Enter Twitter username (without @) and full Facebook URL.

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

Click Update Profile. To display them, add this code to your theme's author bio section (e.g., single.php or author.php):

<?php
$twitter = get_the_author_meta('twitter', $post->post_author);
$facebook = get_the_author_meta('facebook', $post->post_author);
if ($twitter) {
    echo '<a href="https://twitter.com/' . esc_attr($twitter) . '">Twitter</a> | ';
}
if ($facebook) {
    echo '<a href="' . esc_url($facebook) . '">Facebook</a>';
}
?>

Save and check a post—it'll show clean links like this:

How to Display Author Twitter and Facebook Profiles on WordPress User Pages

That's it! These methods, tested on countless sites, will professionalize your author pages. For more, see our guide on displaying authors with photos.

Liked this? Subscribe to our YouTube channel, follow us on Twitter and Facebook.