acf wordpress.com code example
Example: advance custon feilds
the_field('sub_heading');
$image = get_field('hero_image');
if( have_rows('todo') ):
while ( have_rows('todo') ) : the_row();
the_sub_field('item');
endwhile;
else :
endif;