How to display an author’s Twitter and Facebook links on a WordPress profile page

When you first install WordPress, you may notice that you cannot add social media details – such as links to Twitter and Facebook profiles – to user accounts. But, with a little work, you can display your author’s Twitter and Facebook links on their profile pages.

To get started, log into the WordPress administration dashboard. We’ll be using a WordPress plugin called Author Bio Box, which adds a biography panel to WordPress posts and pages. From the sidebar, select Plugins > Add New, then search for Author Bio Box.

Install plugin

Install, then activate the plugin.

Once activated, navigate to Settings > Author Bio Box to configure the plugin’s settings.

Author Bio Box

At the top of the page, use the Display in dropdown to determine where your author’s biography is shown on your site. You can choose from posts only, your homepage and posts or none. Note the PHP code snippet that can also be used to directly embed the biography box in your theme:

<?php if ( function_exists( 'get_author_bio_box' ) ) echo get_author_bio_box(); ?>

Lower down the page you can configure the design of the biography box. Enter a Gravatar size for your author’s profile picture, colour palette and border design. When you’ve completed configuration, click Save Changes to continue.

Now head to Users > All Users and click the Edit link below a user account.

Edit

Scroll down the page and you’ll notice that social media fields have been added, into which you can insert profile links.

User account settings

Enter the user’s social media profile links/account names as required (or ask the user to log into their account and do so), then click Update User to save the changes.

Now head to the front-end of your site, where you should be able to see the user’s biography box displayed.

Biography

If you notice any problems or if you need any help, please open a new support ticket from your HostPapa Dashboard. More details on how to open a support ticket can be found here.

Related Articles

Get online with our affordable web hosting

Get online with our affordable web hosting

Learn more now
HostPapa Mustache