Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
to facebook page profile author’s twitter and how display

TUTORIAL- How to Display Author’s Twitter and Facebook on the Profile Page
#1
Do you want to display your author’s Twitter and Facebook links on their WordPress profile page? By default, WordPress user profile page does not have any fields to add Facebook or Twitter profiles. In this article, we will show you how to easily display author’s Twitter and Facebook profile links in WordPress.
How to Add Author's Twitter & Facebook in WordPress Profile Page

1. Add Twitter and Facebook Profiles with Author Bio Box

This method is easier and is recommended for all users.
First, you need to install and activate the Author Bio Box plugin.

Upon activation, you need to visit the Settings » Author Bio Box page in your WordPress admin to configure plugin settings.

[Image: authorbiobox.png]

First you need to select where you want to display the author bio box. The plugin can automatically show the author bio box below posts only or below posts and on homepage.
After that you can select background color, text color, gravatar size, border, etc.
Don’t forget to click on the save changes button to store your settings.
Next, you need to go to the Users » All Users page. Here you need to click on the edit link below the user account.
[Image: edituser.png]

This will bring you to the user’s profile page. You will notice that there are new social profile fields available on this page.
Now you just need to enter the author’s Facebook, Twitter, or any other social media profile URLs in the respective fields.

Once you are done, click on the update profile link.

You can now view any posts written by that user, and you will see their author bio box with icons for their Twitter, Facebook, and other social media profiles.
Author bio box with social profiles
Registered users on your WordPress site can also edit their own profiles to add links for their Facebook and Twitter pages. You can also send an email to all registered users on your website and ask them to update their profiles.


2. Display Twitter and Facebook Profiles with Yoast SEO

This method is for advanced users because it will require you to edit WordPress theme files.

If you are already using Yoast SEO plugin on your website, then you are in luck as it can be used to add Twitter and Facebook profile fields in author’s profile page.

The problem is that Yoast does not automatically display them in the author bio, but don’t worry we will show you how to do that.

Once you have Yoast plugin setup, you need to head over to the Users » All Users page, and then click on the edit link below the author name.
[Image: edituser.png]

On the user’s profile page, you will notice new Facebook and Twitter profile fields. For Twitter, you just need to enter the user handle without @ symbol.
For Facebook, you will need to enter the complete Facebook profile URL.

Once you are done, click on the update profile button to store your changes.
Now you need to display these fields as links in your theme.
You can do this by adding the following code to your theme files where you want to display the author profile links.

$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>';
?>

Save your changes and view a post on your website.
#2
This is wonderful. Thanks for sharing
Do you want to purchase credits? Click here!
  


Possibly Related Threads...
ThreadAuthor Replies Views Last Post
  You Want To Increase Your Page Authority? Read This! patrick 0 86 08-03-2017, 02:48 PM
Last Post: patrick
  Is Page Speed A Google Ranking Factor? patrick 0 63 07-17-2017, 02:56 PM
Last Post: patrick
  How To Connect Your Blog To Auto Post To Facebook Groups patrick 1 86 07-04-2017, 09:12 PM
Last Post: cbanklee
  How To Verify Facebook Page With Grey Tick Tutorial cbanklee 0 107 07-02-2017, 09:51 AM
Last Post: cbanklee
  How To Visit Facebook's Full Site With A Mobile Phone cbanklee 2 116 06-17-2017, 05:25 PM
Last Post: hemelse
  HOT: (TRICK) How to Auto Add Members on Facebook Using Javascript Pedro 3 150 06-13-2017, 03:29 PM
Last Post: Pedro
  How to Use Facebook fTalk patrick 1 79 06-06-2017, 03:20 PM
Last Post: Pedro



Users browsing this thread:
1 Guest(s)

List of Users who browsed this thread:
How to Display Author’s Twitter and Facebook on the Profile Page00