- This topic has 5 replies, 3 voices, and was last updated 3 years, 4 months ago by
Jeffrey.
-
AuthorPosts
-
December 17, 2022 at 3:37 am #2464927
Jeffrey
Hey, I am using “info” Generatepress theme.
Currently Author page has only the list of posts published by Author.I want to add
- Profile Photo
- Description
- Social Links
- Experience (text based)
I mean, I want to make Author page something like this, is this achievable and if yes, how?
https://www.whattoexpect.com/authors/caroline-picard-1523December 17, 2022 at 8:53 am #2465252David
StaffCustomer SupportHi there,
you can use a Block Element – Page hero:
https://docs.generatepress.com/article/block-element-page-hero/
December 17, 2022 at 7:18 pm #2465617Scott
I do this with the built in WordPress biography by changing the Author slug using the “Edit Author Slug” plugin to mask the actual users WordPress user name from the URL WordPress displays in the browser. and then adding a function in Code Snippets to allow HTML in the WordPress biography in their WordPress account. Very light weight and would work across themes if they should change.
I wouldn’t just allow all HTML tags unless it’s a single author site but you can edit this snippet to allow which ever HTML tags (or not) you like.
function shapeSpace_allowed_html() { $allowed_tags = array( 'a' => array( 'class' => array(), 'href' => array(), 'rel' => array(), 'title' => array(), ), 'abbr' => array( 'title' => array(), ), 'b' => array(), 'blockquote' => array( 'cite' => array(), ), 'cite' => array( 'title' => array(), ), 'code' => array(), 'del' => array( 'datetime' => array(), 'title' => array(), ), 'dd' => array(), 'div' => array( 'class' => array(), 'title' => array(), 'style' => array(), ), 'dl' => array(), 'dt' => array(), 'em' => array(), 'h1' => array(), 'h2' => array(), 'h3' => array(), 'h4' => array(), 'h5' => array(), 'h6' => array(), 'i' => array(), 'img' => array( 'alt' => array(), 'class' => array(), 'height' => array(), 'src' => array(), 'width' => array(), ), 'li' => array( 'class' => array(), ), 'ol' => array( 'class' => array(), ), 'p' => array( 'class' => array(), ), 'q' => array( 'cite' => array(), 'title' => array(), ), 'span' => array( 'class' => array(), 'title' => array(), 'style' => array(), ), 'strike' => array(), 'strong' => array(), 'ul' => array( 'class' => array(), ), ); return $allowed_tags; }December 21, 2022 at 2:28 am #2469103Jeffrey
Thanks,
I did not get, how should I attach new Element to “Author Page”
Could you please give me direction?
December 21, 2022 at 4:51 am #2469243David
StaffCustomer SupportIn the Block Element there is a Display Rule called:
Author Archivesyou can use that one.December 21, 2022 at 6:06 am #2469324Jeffrey
Thank you David, I got it but I dont understand how should I remove the old one.

Above is the new element I created and below is the standard one, which I want to remove. -
AuthorPosts
- You must be logged in to reply to this topic.