Add Magento static blocks to your page easily! Simply copy this line of code below where you want the static block to appear and change the ‘identifier’ to the identifier of the static block you created. That’s it!
PHP
1 |
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('identifier')->toHtml() ?> |