Today we talk about how to in Magento 2 call a phtml file in static block. Calling a phtml file is no different as compared to Magento 1 calling. But if you are calling it in cms block you have to use a class instead of type.
Calling a phtml file on the static block. Just add class and template path.
My current file location for the module is.
My current phtml location for the theme is.
If you want to add phtml with general magento class. Use following code.