title: Wordpress loop in table won't add more than three rows
body: <p>I'm developing an agenda page on <a href="http://www.fabriciorosa.com.br/agenda/" rel="nofollow">my website</a> where it should be listed in rows future events. Problem is, the loop only shows three rows, even though in the 'showposts' loop parameter it's set on 10.</p>
  
  <p>I've noticed when inspecting the page code that it's in fact looping the other posts, but they're showing with 'display: none' - I have no clue why. This is my code:</p>
  
  <pre><code>                &lt;table class="agenda-table" align="center" cellspacing="10"&gt;
                      &lt;tr&gt;
                          &lt;th&gt; Quando &lt;/th&gt;
                          &lt;th style="background: #f0f0f0"&gt; &lt;/th&gt;
                          &lt;th&gt; Quem &lt;/th&gt;
                          &lt;th style="background: #f0f0f0"&gt; &lt;/th&gt;
                          &lt;th&gt; Onde &lt;/th&gt;
                          &lt;th style="background: #f0f0f0"&gt; &lt;/th&gt;
                          &lt;th&gt; O quê &lt;/th&gt;
                      &lt;/tr&gt;
                      &lt;?php
                          query_posts('cat=7&amp;showposts=10');
                          if (have_posts()) : while(have_posts()) : the_post();
                          $dia = get_post_custom_values('dia');
                          $quem = get_post_custom_values('quem');
                          $link = get_post_custom_values('link');
                      ?&gt;  
                      &lt;tr&gt;
                          &lt;td&gt; &lt;a target="_blank" href="&lt;?php echo $link[0];?&gt;"&gt;&lt;?php echo $dia[0]; ?&gt; &lt;/a&gt; &lt;/td&gt;
                          &lt;td&gt; &lt;/td&gt;
                          &lt;td&gt; &lt;a target="_blank" href="&lt;?php echo $link[0];?&gt;"&gt;&lt;?php echo $quem[0];?&gt; &lt;/a&gt;&lt;/td&gt;
                          &lt;td&gt; &lt;/td&gt;
                          &lt;td&gt; &lt;a target="_blank" href="&lt;?php echo $link[0];?&gt;"&gt;&lt;?php echo get_the_content();?&gt; &lt;/a&gt; &lt;/td&gt;
                          &lt;td&gt; &lt;/td&gt;
                          &lt;td&gt; &lt;a target="_blank" href="&lt;?php echo $link[0];?&gt;"&gt; &lt;?php echo get_the_title();?&gt; &lt;/a&gt;&lt;/td&gt;
                      &lt;/tr&gt;
  
                  &lt;?php endwhile; endif; ?&gt;
  </code></pre>