title: Get List of subcategory
body: <p>I have this category on my wordpress:</p>
  
  <pre><code>Test1
    - Sub1OfTest1
    - Sub2OfTest1
  Test2
    - Sub1OfTest2
    - Sub2OfTest2
  </code></pre>
  
  <p>Now iam at url: <code>http://localhost/wordpress/category/test1</code>
  I write the following code on file <code>category-test1.php</code></p>
  
  <pre><code>&lt;?php
  $categories =  get_categories('child_of=2');
  
  print_r($categories);
  foreach ($categories as $category) : ?&gt;
  
          &lt;div class="qitem"&gt;
              &lt;a href="&lt;?php get_category_link( $category-&gt;term_id ); ?&gt;" title="&lt;?php echo $category-&gt;name; ?&gt;"&gt;
                  &lt;?php echo $category-&gt;name; ?&gt;
              &lt;/a&gt;
              &lt;h4&gt;
                  &lt;span class="caption"&gt;
                      &lt;?php echo $category-&gt;name; ?&gt;
                  &lt;/span&gt;
              &lt;/h4&gt;
              &lt;p&gt;
                  &lt;span class="caption"&gt;
                      &lt;?php echo $category-&gt;description; ?&gt;
                  &lt;/span&gt;
              &lt;/p&gt;
          &lt;/div&gt;
  &lt;?php
  endforeach;
  ?&gt;
  </code></pre>
  
  <p>I'm trying to show sub category of Test1 but the code only return array(). What did I miss?</p>