Magento 2 – Call Static Block Using XML / Learn Magento 2 Adobe Commerce / By Saphal For calling static block using xml use below code in your XML layout files: XML<block class="Magento\Cms\Block\Block" name="custombanner"> <arguments> <argument name="your_block" xsi:type="string">custombanner</argument> </arguments> </block>