Answers for "how to add the phtml using xml magento 2"

1

how to add the phtml using xml magento 2

<referenceContainer name="after.body.start">
    <block class="Magento\Framework\View\Element\Template" 
           name="custom.file" 
           before="-" 
           template="Magento_Theme::html/custom.phtml"
    />
</referenceContainer>
Posted by: Guest on August-26-2021

Code answers related to "how to add the phtml using xml magento 2"

Browse Popular Code Answers by Language