I need to insert a phtml file in a static block. The Location of the file is
app/design/frontend/Pearl/weltpixel_custom/edu/custom.phtml
I use "weltpixel_custom" as my child theme
This is the code in the static block:
{{block class="Magento\Framework\View\Element\Template" template="weltpixel_custom::edu/test.phtml"}}
I got the following error: Invalid template file: 'weltpixel_custom::edu/test.phtml' in module: '' block's name: 'magento\framework\view\element\template_0'
Do you a solution? In Magento 1.9 it worked with this code:
{{block type="core/template" template="edu/test.phtml"}}
and following file location:
app/design/frontend/ultimo/edu/template/edu
Thank you for helping!