Home › Forums › General Issues › Line breaks missing in wysiwyg › Reply To: Line breaks missing in wysiwyg
This is probably too late for you, carl-w, I had a similar problem and found the following worked.
I was using the_field(‘fieldname’) which displayed the text content all on a single line.
Instead, use this…
echo wpautop( get_field(‘fieldname’) ) which then correctly used the line breaks in the original submitted text content.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.