Support

Account

Home Forums General Issues ACF in attachment-single.php Reply To: ACF in attachment-single.php

  • Ok, now it’s clearer.

    My question would be: if you just need to output text in a WYSIWYG field, why dont you just write the text in the_content() and attach the audio to that field as well? Why two fields?

    But try this code and tell me if it works:

    <div class="chapo">
    	<?php the_field('chapo'); ?>
    </div>
    
    <div class="content">
    	<?php the_content(); ?>
    </div>

    If it doesn’t, can you inspect the html with chrome or firefox and tell me what’s being displayed inside these divs?