title: ACF display image slider with link in frontend
body: <p>Pardon my knowledge. I wanted to make a slider via AFC pro, so what i did is:</p>
  <p>I made a repeater field with image and url fields.</p>
  <p>Am trying to insert the image url and the url field into a slider like this:</p>
  <pre><code>&lt;div class=&quot;mySlides fade&quot;&gt;
      &lt;a href=&quot;&lt;?php the_sub_field('urlfield'); ?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php the_sub_field('imagefield'); ?&gt;&quot; style=&quot;width:100%&quot;&gt;&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  <p>I think am doing thing wrong so many ways. Any help would be appreciated.</p>