In magento, sometimes you need to call block in magento phtml to get the content of block. Here is an easy way to call static block & custom block in any template file.
1. Call Static block content in magento phtml file.
You can easily call any static block in magento template file. At first, you have to create a static block in admin panel.
then, you can call the static block in any phtml file with the help of following code: