Include a CMS Block in phtml file – Block

<?php
 //The following code will load the block with the given  "identifier"
 // on the phtml page
 echo $this->getLayout()->createBlock('cms/block')->
 setBlockId('identifier')->toHtml()
?>
Share

One thought on “Include a CMS Block in phtml file – Block”

Leave a Reply

Your email address will not be published. Required fields are marked *