Support

Account

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">&rarr;</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?