MAGENTO 1.9.1.0 | If we are on category load relative CMS Block

<?php if (Mage::registry(‘current_category’))
{
// Category Name
echo Mage::registry(‘current_category’)->getName(); // print category name, once you had test that all work, delate it

// Category ID
//echo Mage::registry(‘current_category’)->getId(); // print category name, once you had test that all work, delate it

$actCat = Mage::registry(‘current_category’)->getId(); // insert category name inside variable

if($actCat == 4){ // Check if the category id and the actual page id are the same
echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘cat_prodotti_viso_naturali_bio’)->toHtml(); // Then load cms/block
}
} ?>