Support

Account

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

  • The screen only shows the type of field that I use.

    The code I use is as follows:
    <?php
    if ( get_field( ‘chapo’ ) )
    { ?>
    <?php echo get_field( ‘chapo’ ); ?>
    <?php
    } ?>
    <?php the_content(); ?>

    In get_field(‘Chapo’) is being added what is on the_content(); and the content of get_field(‘Chapo’).

    The same goes for other get_field I have on the page.