Home › Forums › General Issues › Very annoyed with inserts for WYSIWYG. I've tried other solutions › Reply To: Very annoyed with inserts for WYSIWYG. I've tried other solutions
I was thinking like this:
having looked at the documentation here: https://www.advancedcustomfields.com/resources/textarea/
I think the thing I’m getting confused by is the difference between textarea and wysiwyg.
Here’s the problem:
I have a get_field php call inside of a p tag like this
<p class="class-name"> get_field(etc etc); </p>
And it outputs like this
<p class=class-name> </>
<p>
<ul>the content that I put into my field </ul>
<li>content</li>
<li>content</li>
<li>content</li>
<li>content</li>
</p>
<p> </p>
Which is super ugly and no good.
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.