Render static block in magento 2

How to render static blocks in any pages in magento 2

In between Magento 1.x and 2.x, rendering the Static block is quiet different. You can call either in .phtml template, CMS page or layout file in the following way.

In phtml file:

In layout file:

In any CMS block:


Leave a Reply

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