Static Block Within A Template

Posted on September 02, 2010 | Magento 1

This code allows you to add the content of a static block to your template.

 <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('STATIC-BLOCK-IDENTIFIER')->toHTML();?>