wordpress php loop - archive is looping the same number of times as results
<p>Not sure that's the best way to to describe it, but here's what's happening (and I'm sure this has to be a reasonably easy thing, just not sure where to look):</p>

<p>Client has 10 offices so I'm using the Advanced Custom Fields plugin with a custom post type to specify a location for job postings. My code seems to be working (i.e. it's pulling the appropriate jobs by location) but it's looping the     <strong>article</strong> tag the same number of times as results. I have 3 jobs in there, so it loops the whole set of results 3 times. If I delete one and drop down to 2, it loops twice, etc. I used the following example from the advanced custom fields website:</p>

<pre><code>&lt;?php 
// args
$args = array(
    'numberposts'   =&gt; -1,
    'post_type'     =&gt; 'jobs',
    'meta_key'      =&gt; 'location',
    'meta_value'    =&gt; 'akron' 
);

// query
$the_query = new WP_Query( $args );

?&gt;
&lt;?php if( $the_query-&gt;have_posts() ): ?&gt;
    &lt;h3&gt;Akron Office&lt;/h3&gt;
    &lt;ul&gt;
    &lt;?php while( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post(); ?&gt;
    &lt;li&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt; &lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;?php endwhile; ?&gt;
    &lt;/ul&gt;
&lt;?php endif; ?&gt;
&lt;?php wp_reset_query();  // Restore global post data stomped by the_post(). ?&gt;
</code></pre>

<p>I guess I'm not sure where to look (I realize this might be a plugin question rather than a php question) and would appreciate any direction you guys can provide. </p>

<p>You can see the offending page here: <a href="http://www.knrlegal.com/jobs/" rel="nofollow">http://www.knrlegal.com/jobs/</a></p>