How to include a phtml file in Magento 2

- Magento 2

Magento 2 Development

Use the following code to include a phtml file via the type=“core/template” block in Magento 2:

after you go to Magento 2 EE Admin-Content-Pages-Add New.

Please note that in case of 2.X Magento\Framework\View\Element\Template is similar to core/template.

Source (Magento Stackexchange Question) (Amit Bera)

More tips from the Cookbook