Home › Forums › General Issues › ACF in attachment-single.php › Reply To: ACF in attachment-single.php
No, I’m sorry if I was unclear. The problem is that the *content* of the post is being displayed where **get_field** is called. For example, on attachment pages, the attachment content appears before the content of the field:
<audio><!-- attachment audio stuff... --></audio>
<p>WYSIWYG content from get field</p>
The entire **<audio/>** tag should not appear there, it is not called in the code and is not in the WYSIWYG content of the field.
This error only appears with WYSIWYG fields.
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.