Site logo

[Support request] How to Customize Text in Author Page

Home Forums Support [Support request] How to Customize Text in Author Page

Home Forums Support How to Customize Text in Author Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1872489
    Thomas

    Hi,

    I’ve added an Author Box after each blog post, using this method: https://generatepress.com/forums/topic/author-box-4/#post-975518

    I used the edited script Nask provided, because otherwise the author bio is just one long line and it looks bad. With the CSS and Nask’ script it looks fine.

    The problem is with the “author archive”, the author bio text is still one long line.

    How do I get the text to break up in the same way, as in the Author Box?

    I hope you can help. Thank you 🙂

    #1872641
    David
    Staff
    Customer Support

    Hi there,

    are you using the Block Editor ? If so, you can use a Block Element to build your own author box.

    Video URL here showing how to:

    Let me know.

    #1873834
    Thomas

    Hi David,

    Thanks. My problem is not so much the author box, I’ve added one, and I’m fine with it.

    My problem is if I go to “MYURL.COM/author/AUTHORNAME”, there is a page with the author description, etc., and it looks horrible. I want to edit this page, for example, change the way the text breaks up, so it is not just one long line.

    I hope that makes sense.

    #1873850
    Elvin
    Staff
    Customer Support

    Hi Thomas,

    That part of the page isn’t controlled by the theme.

    But here’s a suggestion:

    You’ll need a plugin that allows you to use rich text editor or HTML on Users > Edit user Biography info.

    You can try adding this PHP snippet if you want to run HTML from the Biography info text field.

    remove_filter('pre_user_description', 'wp_filter_kses');  
    add_filter( 'pre_user_description', 'wp_filter_post_kses' ); 

    Allowing HTMLs to run on your biography info field will let you format the description to your preference.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.