title: Magento Product Listing by Category ID
body: <p>I have a magento (1.5) store and a wordpress (3.2) blog.</p>
  
  <p>The wordpress blogs acts as the main site and the home-page index.</p>
  
  <p>Using Mage-Enabler, I have integrated wordpress and magento together and I am able to pull the checkout block, quick links and all the files.</p>
  
  <p>My question is that I would like to display the top-sellers categories on the home-page. I would usually do this with the XML in the CMS.
  e.g.</p>
  
  <pre><code>{{block type="catalog/product_list" category_id="your_category_id" template="catalog/product/list.phtml"}} 
  </code></pre>
  
  <p>But this is not possible in this instance as the store home-page is not seen e.g when a user clicks on the shop-online button on the navigation it takes them onto the category lander page showing all the categories and a search.</p>
  
  <p>My logic has lead me to do this via PHP e.g</p>
  
  <pre><code>&lt;?php
  
  $categoryId = 123; // a category id that you can get from admin
  $category = Mage::getModel('catalog/category')-&gt;load($category_Id);
  
  ?&gt;
  </code></pre>
  
  <p>... this would be inside a copy of the product > list.phtml page.</p>
  
  <p>Is this possible to pull products in a list via a specfic category via PHP templates rather than the block types XML in the admin?</p>
  
  <p>Thanks</p>
  
  <p>Cameron</p>