In my theme package i create a custom.phtml file in theme_name/default/template/custom/custom.phtml , i want to call this file in static block i try this method :

{{block type="core/template" template="theme_name/default/template/custom/custom.phtml"}}

but nothing appears.

1 Answer 1


You don't need to include the theme's directory in the template path, Magento will automatically use the current theme and fallback structure. For example:

{{block type="core/template" template="page/html/home.phtml"}}

Or in your case:

{{block type="core/template" template="custom/custom.phtml"}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.