Archived topic
How to add in author profile above their content
7 replies · Started by lewis on June 29, 2022
Hi there, I am looking for a way to add in the about bio above their blog roll of posts. I am looking to achieve something similar to this https://www.lifewire.com/charlie-sorrel-5080532. I have also added a link to an author profile on my site. Thanks
Hi Lewis,
You can use a block element - page hero to add the content.
https://docs.generatepress.com/article/block-element-page-hero/
Here's a video showing how to pull the author info using dynamic options, and insert it into all single posts.
https://youtu.be/4x6CjGOyagc
In your case, you want to insert it into the author archives, so instead choose posts > all postsas the element's location, you should choose author archives.
Great, thanks for that. For the dynamic author bio, this is likely to be a full page of info, where would I put this information? I currently have a small dynamic author bio for each author that is taken. Is there another way to add this? Thanks
Hi Lewis,
To clarify, how are you adding the “full page” author bio? Did you create a custom field?
By default, the only author bio “Biographical Info” in the About Yourself section.
Kindly let us know.
Hi there,
For the full-page author bio, that is what I am trying to figure out. I have no idea how to add that to the archive of posts for the author.
As for the biographical information, this is a separate small blurb that is used on a post basis and is dynamic. Please see link for how it is setup currently. I have it set to dynamic too.
I see. Thank you for clarifying.
You can use a plugin like Advanced Custom Fields: https://wordpress.org/plugins/advanced-custom-fields/
This plugin should allow you to add custom fields to Users.
Then, you can retrieve text fields for instance through a Headline Block by setting the source to author meta, and naming the corresponding post meta field name.
More info in ACF here: https://www.advancedcustomfields.com/resources/getting-started-with-acf/
Hope this helps!
Thanks Fernando. Are you able to please make a video walking me through how to do this? Sorry, this is well outside my realm of skills lo. Thanks
That would be out of our scope of support.
There’s lots of videos in YouTube however that should guide you on installing and using ACF.
Once you’ve added a field, you can retrieve it as such: https://share.getcloudapp.com/z8um1mZm
Just put the Meta Field Name you’ll set in ACF in the meta field name input box.
Hope this helps!