Archived topic
User Archive Bio Field Texts No Line Breaks.
7 replies · Started by Leon on September 1, 2017
Hello Tom,
If you look at my user archive page, you'll find that the author's bio texts have no line breaks which makes it hard to read. This link shows it: https://interpreterdatabase.com/author/rossaflavor
But actually when the user edited their profile, they have used breaks as in this link: https://interpreterdatabase.com/profile/440
Could you help me on this please? I just don't know if it's the theme or any plugin that caused this.
Thank you!
Leon
Hi there,
Looks like you are using a user profile plugin? maybe this one? http://profileplugin.com/
I would try contacting their support.
Let us know :)
Hi Leo,
Yes I'm using that plugin. If you need more information, please let me know.
Thank you!
Leon
Sorry by that I mean you should try contacting their support :)
Ah, I see. So there is no problem with my theme, is that right?
Hmm, maybe try this function?
add_filter( 'get_the_author_description', 'tu_author_desc_autop' );
function tu_author_desc_autop( $output ) {
return wpautop( $output );
}
Hi Tom,
Thank you!!
It works in my author's post archive page. But on the bbpress Author page, it still isn't showing right. As seen here: https://interpreterdatabase.com/users/rossaflavor
I'm assuming this should be a problem with the bbpress plugin?
Thanks again
Leon
Yea, that likely means they aren't using the get_the_author_meta() function provided by WP.