Topic: Wordpress: No paragraphs or line breaks showing in Biographical Info

When I go to Users > Authors & Users > and then click on my username, I am trying to fill in the Biographical Info box where it says, "Share a little biographical information to fill out your profile. This may be shown publicly."

The problem is that if I try to divide my text into paragraphs, they aren't sticking. I can see in the admin that the paragraphs are there, but out on the website, it gets displayed as all one paragraph. Looking at the source code, I see that there is indeed one <p> at the beginning and one </p> at the end - nothing in between where I added line breaks.

I've posted this question on the WP forums and received no answer.  Does anyone here know if there is there a way to fix this?

ETA:  I forgot to mention that I've tried to physically add <p> or <br /> tags, but they don't stick either.  And there's no wysiwyg editor for this section.  Hmmm...

Last edited by Susie (2009-09-30 11:17:59)

Re: Wordpress: No paragraphs or line breaks showing in Biographical Info

I found this thread, but I'm not sure what to do with the info.

http://wordpress.org/support/topic/247722?replies=3

Re: Wordpress: No paragraphs or line breaks showing in Biographical Info

Looks like that thread should have the answer for you. Where is this bio info displaying? Seems like it is a matter of finding wherever that code is (I'm guessing something like this):

echo $curauth->description);

and replacing it with this:

echo nl2br($curauth->description);

Re: Wordpress: No paragraphs or line breaks showing in Biographical Info

Yep, that's it.  Thanks, Ben! 

Sometimes something so simple can stump me for hours.  tongue