title: Insert text inside Wordpress Shortcode,with PHP
body: <p>I'm developing this webstore, and what I'm looking for is a way to send text inside this shortcode using PHP $_GET - </p>
  
  <pre><code>[product_category category=" HERE " per_page="12" columns="4" orderby="price" order="asc"]';
  </code></pre>
  
  <p>I've written this code -</p>
  
  <pre><code>if(isset($_GET['category']))
      $category = $_GET['category'];
  else
      $category = 'dogs_food';
  
  echo '[product_category category="' . $category . '" per_page="12" columns="4" orderby="price" order="asc"]';
  </code></pre>
  
  <p>Added an list of categories -</p>
  
  <pre><code>  &lt;ul&gt;                      
      &lt;li&gt;  
        &lt;a href="?category=dog_old"&gt;old&lt;/a&gt;      
      &lt;/li&gt;
  
      &lt;li&gt;  
        &lt;a href="?category=puppy"&gt;puppy&lt;/a&gt;      
      &lt;/li&gt;
  
      &lt;li&gt;     
        &lt;a href="?category=dog_middle"&gt;medium&lt;/a&gt;
      &lt;/li&gt;
  
    &lt;/ul&gt;
  </code></pre>
  
  <p>And still nothing happens when I click on the categories.</p>
  
  <p>Thanks</p>