Home › Forums › Plugin Support › WP User Frontend (Free Version) › echo textarea content with line breaks This topic is: not resolved This topic contains 2 replies, has 2 voices, and was last updated by ritalinaaa 5 years, 4 months ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts February 24, 2014 at 6:17 am #15772 ritalinaaaMember Post count: 9 Hello How can I echo each line separetely? Everytime someone write something like: “first line second line third line” I get: “first line second line third line” How can I solve this? I can't allow users to user WYSIWYG, all I need is to use the simple textarea and that the output have each line as a new paragraph. February 24, 2014 at 2:20 pm #15781 Tareq HasanKeymaster Post count: 2831 In that case, you've to output those fields manually with the nl2br function. May be like <?php echo nl2br( get_post_meta( $post->ID, 'meta_key', true ) ); ?> February 24, 2014 at 5:56 pm #15783 ritalinaaaMember Post count: 9 Isn't there a way to output <li> or <p> instead of <br>? Because if I only get <br> I won't be able to format the text the way I need. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The topic ‘echo textarea content with line breaks’ is closed to new replies.