Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2686809
Author BIO
Closed

Comments

  • chawra started the conversation

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

  •  2,699
    PenciDesign replied

    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