In this post I am going to explain how to to call template block in any CMS page or CMS static block.

If you want to call template block in CMS page or CMS static block, then you can do it by below code.

Suppose that we have a phtml file called mytemplate.phtml of module Ht_Mymodule.

If you want to use Magento 2 default template block then you can do it as below.

Thats it. Enjoy Magento 2!!

Related Read:  How to Create a Simple Product in Magento 2