Home › Forums › Backend Issues (wp-admin) › Wysiwg editor text not visible proper on frontend › Reply To: Wysiwg editor text not visible proper on frontend
The value in the database is correct. The paragraph tags you saw on the backend are generated by the content editor, but the real data doesn’t have it.
The WYSIWYG field has a feature that will convert a new line into a paragraph tag automatically, but it seems not working on your site. Maybe there’s a function that prevents it. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Sixteen) with other plugins deactivated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.
As a workaround, you can add the paragraph tags like this:
echo wpautop(get_field('short_description_2'));
I hope this helps 🙂
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.