Site logo

Archived topic

Add Individual Author Social Profiles

5 replies · Started by Dave on March 21, 2021

Viewing posts 1–6 of 6

I would like to add the individual's website, Facebook and Twitter to the Author bio.
Do you know a php way of doing this so it takes it from the user profile in WordPress?
I am doing this on my existing site but I am not sure how to make that work with Generatepress.

Cheers,

Dave

Hi there,

Usually an SEO plugin adds those in for you by default.

The user profile is handled by WordPress itself so there wouldn't be a specific way for GP.

I am doing this on my existing site but I am not sure how to make that work with Generatepress.

How are you doing it in the existing site? If it's a function for WordPress then it should work in GeneratePress.

Something like this might also help:
https://mekshq.com/faq/add-social-fields-authors-users
https://www.wpbeginner.com/wp-tutorials/how-to-display-authors-twitter-and-facebook-on-the-profile-page/

Sorry, I am actually talking about the author box on the website. Not Mark-up.
The code that is used on my existing site is genesis-specific.
I have attached a screenshot of my existing functions.php file where this has been implemented.
Any insight would be appreciated.

GPP 2.0 (currently in alpha 5) makes this super easy:
https://youtu.be/HMhUo91RjsE

If you are not comfortable with using Alpha on a live site environment, then I'd recommend a plugin like Simple Author Box.

Is there a way to do it in the functions file? I would rather not use a plugin.

Cheers,

Dave

Hi there,

that would require Custom Development - aside of the code to display that content WP does not provide Social Links as part of the User Meta - the Simple Author Box plugin does all of that for you... and ultimately the code it adds to your site would not be too dissimilar to the code you would need developed.

This archived topic is closed to new replies.