Created
December 22, 2015 12:39
-
-
Save andresams/7208135447902f668365 to your computer and use it in GitHub Desktop.
Magento get html static block by ID inside of .phtml files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo $this->getLayout()->createBlock('cms/block')->setBlockId('block_identifier')->toHtml(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment