Magento: Add Static Block to CMS Page

There is definitely nothing complicated about doing this. Static blocks are a great way to divide up different types of data blocks to make updating content easier.

There are just two simple steps to adding a static block to a cms page. First, create your static block. You will use the identifier to call it on the cms page. Let’s say, for this example, we call the identifier “home-page-promo”.

Once your static block is created, edit whatever cms page you would like this block to appear on, and simply put this code in right where you want it to show up:

{{block type="cms/block" block_id="home-page-promo"}}

And that’s all there is to it.

This entry was posted in Magento. Bookmark the permalink.

19 Responses to Magento: Add Static Block to CMS Page

  1. Mariya says:

    Very helpful really. Does anybody know how to position the blocks (up, down, left right) in one column homepage?

  2. Mikal says:

    Nice post, I was searching for this code.I got it.thanks for sharing.

  3. exactly what i was looking for… Thanks!

  4. Kristy says:

    I bow down humbly in the presence of such greatesns.

  5. maniacCow says:

    How to display the block title?

    {{block type=”cms/block” block_id=”desktop_highlight” title=”Desktop”}}

    Help plz…

  6. Saiful Islam says:

    Very helpful, Thnaks

  7. Pingback: Magento Ecommerce: An Overview and Some Useful Hints « Rosslyn Digital

  8. milind says:

    thank for u r guidlline but i have one more question is how to show the static block from admin side mean when ever user subscribe for newsletter i have to show message but on sepetate page so i have make one static block but i don’t understand how to call from it and show the message on that page

  9. john says:

    how can i call cms page frombutton click

  10. Volodia says:

    Thank you guys!

  11. Hey Pratthost,
    Thank you for this one. We surely need to make a collection of this calls. :)

  12. You are a life saver mate. Thanks.

  13. srdjan says:

    {{block type=”cms/block” block_id=”home-page-promo”}}

    how to add action to that?

  14. Harun says:

    I am new to Magento, can anybody help me in CMS tool of admin panel, and I have created a page with the entire required field and even able to view in preview page, which is coming absolutely perfect.

    I used following page to create this page

    But I am not able to see this link in my website homepage and other pages.

  15. Josh Pratt says:


    Unfortunately, if you want to change the callout stuff, you’ve got to get into the layout and template code.

  16. Abhi says:

    How a non- tecnical person can change the callout from admin side does any one know that ??

  17. Joy says:

    You might be interested in how to make the callouts static blocks (see this forum thread) and mention that this same syntax works in the email templates. There is also another syntax you can use to reference blocks in the emails and in page templates. Here’s one that is in the shipment email:
    {{block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment order=$order}}

    • Al says:

      Oh my, this comment is still useful after 5 long years!

      You will declare block type = cms/block if you are calling a static block defined in Magento admin, instea you will declare type = core/template if calling a PHTML file directly.