Stuck on image in an Advanced Custom Field loop


  // 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

          <img src="<?php the_sub_field('tool_image');?>">


  else :

      // no rows found



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…


All solutions VERY welcomed, thank you


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="">

Stuck on image in an Advanced Custom Field loop</a>
henry 8 months 0 Answers 53 views 0

Leave an answer