I have what seems to be a simple problem that I just cannot figure out…
For example, if I add a text widget to my sidebar and enter text, hitting enter after certain lines, this does not equate to HTML
line breaks, only carriage returns within the source code.
Please can someone tell me how I can convert these returns to generate
tags? I don’t want to put HTML within the widget as a non-web developer will be editing the content.
Do I need to do some sort of php replace function on the widget output? In the functions file?
I’d really appreciate some help!
- The topic ‘Widget admin line breaks in HTML’ is closed to new replies.