ACF repeater showing just 1 row
<p>So when I try to use ACF repeater field instead of showing me all the fields I get just the first one. The code is as follows.</p>

<pre><code>&lt;?php if( have_rows('vsi_projekti') ): ?&gt;
    &lt;ul class="posts-grid"&gt;                 
        &lt;?php while( have_rows('vsi_projekti') ): the_row();
            // vars
            $image = get_sub_field('vsi_projekti_image');
            $content = get_sub_field('project_name');
            $link = get_sub_field('link_to_post');
            ?&gt;  
            &lt;li class="post-grid"&gt;
                &lt;a href="&lt;?php echo $link; ?&gt;"&gt;
                    &lt;img src="&lt;?php echo $image['url']; ?&gt;" alt="&lt;?php echo $image['alt'] ?&gt;" /&gt;
                    &lt;div class="post-title-hover"&gt;&lt;?php echo $content; ?&gt;&lt;/div&gt;
                &lt;/a&gt;
            &lt;/li&gt;
        &lt;?php endwhile; ?&gt;
    &lt;/ul&gt;
&lt;?php endif; ?&gt;
</code></pre>

<p>Any advice on what I'm doing wrong to be getting out just 1 row instead of multiple?
I don't know if this has anything to do with my problem or not, but I'm adding just 1 row in every post. But in the end I should get out more then just row I think?</p>