Hi how to display ACF field in default single post of my theme? This is my single.php
<?php
/**
*
* The template for displaying all single posts.
*
* @author : VanThemes ( http://www.vanthemes.com )
*
*/
get_header();
$van_page_type = van_page_type();
?>
<?php van_breadcrumb(); ?>
<div id=”main-content” class=”<?php echo $van_page_type[‘type’] . ‘ ‘ . $van_page_type[‘container’]; ?>”>
<div id=”single-outer”>
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( ‘partials/content’, get_post_format() );
if ( van_get_option( ‘post_nav’ ) ) {
van_post_navigation();
}
if ( van_get_option( ‘author_box’ ) ) {
get_template_part( ‘templates/author-info’ );
}
if ( van_get_option( ‘related_posts’ ) ) {
get_template_part( ‘templates/related-articles’ );
}
}
}
?>
<?php comments_template( ”, true ); ?>
</div><!– #single-outer –>
</div><!– #main-content –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Thanks