Home › Forums › Front-end Issues › Help to show the custom fields › Reply To: Help to show the custom fields
hello @elliot
I place the code in content.php and it looks like this:
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentythirteen' ) ); ?>
<ul>
<li>Price in £: <?php the_field("price-in-£"); ?></li>
<li>Barcode: <?php the_field("barcode"); ?></li>
<li>Place: <?php the_field("place"); ?></li>
</lu>
<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</div><!-- .entry-content -->
Is there a problem with it?
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.