title: Foreach and nth terms
body: <p>I'm trying to print content into three columns meaning for the first column I need to retrieve records matching the term 3n-2. How would I do so... using modulus maybe? Thank you!</p>
  
  <pre><code>foreach($grid as $tile):
      echo '&lt;div class="tile"&gt;&lt;img src="/media/full/' . $tile['source'] . '"/&gt;&lt;/div&gt;';
  endforeach;
  </code></pre>