We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    Are you wondering, how to show CMS Static Block in Magento 2?

    Here, you will find effective instruction about this topic.

    Call from Phtml File:

    echo $this->getLayout()
              ->createBlock('MagentoCmsBlockBlock')
              ->setBlockId('your_block_identifier')
              ->toHtml();

    Call from CMS page or block:

    {{block class="MagentoCmsBlockBlock" block_id="your_block_identifier"}}
    

    Call from XML File:

    <referenceContainer name="content">
        <block class="MagentoCmsBlockBlock" name="block_identifier">
            <arguments>
                <argument name="block_id" xsi:type="string">block_identifier</argument>
            </arguments>
        </block>
    </referenceContainer>

    Hope this helps you!

    Fill the below form if you need any Magento relate help/advise/consulting.

    With Only Agency that provides a 24/7 emergency support.

      Get a Free Quote