How to call a static block call every cms page in Magento 2.2
1 Answer
You need to override cms_page_view.xml layout file in your theme/module.
In that file, you need call static block over there with static block id:
<block class="Magento\Cms\Block\Block" name="block_identifier">
<arguments>
<argument name="block_id" xsi:type="string">static_block_id</argument>
</arguments>
</block>
-
Please accept the answer if it works for you as it can help others to identify solution easily.– SarvagyaMay 11, 2018 at 10:15
-