magento – call a static block in a page

magento – call a static block in a page

for display a static block in a page

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('blockname')->toHtml() ?>

You may also like...

Creating a Shopify App using Laravel How to Create Custom WordPress Plugin? How to Build a Telegram Bot using PHP How to Convert Magento 2 into PWA?