Support

Account

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.