I am using advance custom field plugin with twenty fourteen child theme .
I have made a custom template inside (twentyfourteen-child/page-templates)
and have put the php code to display custom fields in that template but nothing is showing up in front-end
Below is the code of my custom template
<?php
/**
* Template Name: Two Column Template Page
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
get_header(‘football’); ?>
<?php
if ( is_front_page() && twentyfourteen_has_featured_posts() ) {
// Include the featured content template.
get_template_part( ‘featured-content’ );
}
?>
<?php the_field(‘match_date’); ?>
” alt=”” />
<?php the_field(‘team_a_name’); ?>
” alt=”” />
<?php the_field(‘team_b_name’); ?>
<!– #content –>
<!– #primary –>
<!– #main-content –>
<?php get_sidebar(‘content’); ?>
<?php get_footer(); ?>