To call a CMS block in a page or in another block all we have to write the below code

    {{widget type=”Magento\\Cms\\Block\\Widget\\Block”
    template=”widget/static_block/default.phtml” block_id=”identifier”}}

    We can also pass the value of block in block_id.

    Here we Manually add a block.Before this you have to Learn How to make CMS block Through Frontend.

    What we have Done,

    The widget class type is using this Magento\Cms\Block\Widget\Block by a Template file widget/static_block/default.phtml to render the actual CMS block.

    Keep Remember

    CMS blocks are stored in the cms_block and cms_block_store tables in a

    About Author

    You may also like

    No Comment

    You can post first response comment.

    Leave A Comment

    Please enter your name. Please enter an valid email address. Please enter a message.