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.
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.