Magento Developer
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment