CMS & WordPress
at the moment, I have a plugin called People Lists, and it really works great, because it was exactly what I was looking for.
But, when I add my 'bio' to my profile, using simple formatting like this:
One line here.
Some other line here.
I have the 'line-break' between those 2 lines, but when it's echo'd out to the page, there is no 'formatting' of the next. It's just 1 line. Then I wanted to edit the plugin, to add the 'formatting' myself, but is there a way to do that in wordpress? Because what I can see, when you have line breaks in Wordpress, it doesn't store them in the DB. So I can't use nl2br() function in PHP.
Hope any can help!
Your best bet would be to find support from the creators of the plugin and see what can be done. The plugin is doing what it does separately from how Wordpress processes post content. Wordpress does store newlines in the database. I'm not sure what your plugin script is doing, if it is stripping newlines out before updating the database or just not doing anything with the newline characters on the way out.
Thank you a lot for the answer, I did use the wpautop() function around the output, and seems to work. Hopefully the plugin ain't updated that often!
This topic is now archived. It is frozen and cannot be changed in any way.