Thursday, 21 June 2018

Magento 2: How to Call CMS Static Block in Phtml File

Block id= flowUs

<?php echo $block->getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('flowUs')->toHtml();?>

No comments:

Post a Comment