Stuck on image in an Advanced Custom Field loop
Question
<?php
// check if the repeater field has rows of data
if( have_rows('tool_card') ):
// loop through the rows of data
while ( have_rows('tool_card') ) : the_row();
// display a sub field value
the_sub_field('title');
<img src="<?php the_sub_field('tool_image');?>">
endwhile;
else :
// no rows found
endif;
?>
The above image doesn’t load when using the plugin Advanced Custom Fields…
I know I am doing something a bit dumb but I can’t figure it out. If anyone is familiar with the plugin I’d really appreciate a pointer here…
Thanks
All solutions VERY welcomed, thank you
0
plugins
3 years
2019-12-07T21:49:27-05:00
2019-12-07T21:49:27-05:00 0 Answers
78 views
0
Leave an answer