Skip to content
Public Ticket #15764

Author BIO

Conversation thread

PenciDesign replied

Staff Reply

Hi,

Yeah, because by default, WordPress just allows for "text" in the user description field.

To do that, you can do the follow steps:

1/ Install & activate plugin https://wordpress.org/plugins/code-snippets/

2/ Go to Snippets > Add New > and name your snippet. The name doesn’t matter, example: Filter Author Bio.

3/ In the snippet body, insert the following code below and save it:

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

4/ Go to edit your Profiles - and you can use  <br>  tag or <p> tag to create a new line or multiple paragraphs.

Example:

Here is the first line<br>
Here is the second line<br>

or:

Here is the first paragraphs</p>
<p>Here is the second line</p>
<p>Here is the third line

Best Regards,

PenciDesign

chawra started the conversation

Conversation Start

How can I format Author Bio ? right now it shows just 1 para. I need couple of para with proper format.

Want to join this conversation or access attachments? Sign in first.