title: Shortcodes inside a shortcode - wordpress
body: <p>I created a shortcode which display the employees, the HTML look somthing like that:</p>
  
  <pre><code>&lt;ul class="employees"&gt;
  
  &lt;li&gt;&lt;img src=""&gt; &lt;h5&gt;name&lt;/h5&gt; &lt;p&gt;description&lt;/p&gt;&lt;/li&gt;
  &lt;li&gt;&lt;img src=""&gt; &lt;h5&gt;name&lt;/h5&gt; &lt;p&gt;description&lt;/p&gt;&lt;/li&gt;
  ..
  
  &lt;/ul&gt;
  </code></pre>
  
  <p>So I created 2 shortcodes:</p>
  
  <p>[start_employee] - which contains <code>&lt;ul class="employee"&gt; .. &lt;/ul&gt;</code></p>
  
  <p>[employee] - which contains content about the employee</p>
  
  <p>And it should work like that:</p>
  
  <pre><code>[start_employee]
  [employee img=".." name=".." description=".."] 
  [employee img=".." name=".." description=".."] 
  [/start_employee]
  </code></pre>
  
  <p>but when I put it in the wordpress editor the html look like that:</p>
  
  <pre><code>&lt;ul class="employee"&gt;
  [employee img=".." name=".." description=".."] 
  [employee img=".." name=".." description=".."]
  &lt;/ul&gt;
  </code></pre>
  
  <p>I think I know why.. because the fuunction of start_employee contain:</p>
  
  <pre><code>return '&lt;ul class="employee"&gt;'.$content.'&lt;/ul&gt;';
  </code></pre>
  
  <p>What should I do that it read it as a shortcode?</p>
  
  <p>Thank you.</p>