title: ExpressionEngine & Taxonomy 3 - How to split nodes into blocks of 5?
body: <p>I am using ExpressionEngine 2.10.3 and also Taxonomy 3 plugin. I have the following code which, when run, returns the 15 nodes I have set up:</p>
  
  <pre><code>&lt;div class="col-md-4"&gt;
      {exp:taxonomy:nav tree_id="1" display_root="no" root_node_id="2"}
          &lt;li&gt;
              &lt;a href="{node_url}"&gt;{node_title}&lt;/a&gt;
          &lt;/li&gt;
      {/exp:taxonomy:nav}
  &lt;/div&gt;
  </code></pre>
  
  <p>What I would like to do is after every 5 entries, end the current <code>&lt;div&gt;</code> and start a new <code>col-md-4</code>. Usually, I would use <code>{switch}</code> and I have tried it like this:</p>
  
  <pre><code>&lt;div class="col-md-4"&gt;
      {exp:taxonomy:nav tree_id="1" display_root="no" root_node_id="2"}
          &lt;li&gt;
              &lt;a href="{node_url}"&gt;{node_title}&lt;/a&gt;
          &lt;/li&gt;
          {switch='||||&lt;/div&gt;&lt;div class="col-md-4"&gt;'}
      {/exp:taxonomy:nav}
  &lt;/div&gt;
  </code></pre>
  
  <p>But it doesn't work at all, instead it just prints out <code>{switch='||||'}</code></p>
  
  <p>Is there any way of doing what I'm trying to do?</p>