How to Add Static Block to your theme – Magento

Create an Static Block from your CMS admin tab and show it in your theme.

In my case I wanted to call a Static Block from my theme to show up in the sidebar.

I edited my theme file called 2columns-left.phtml and then added the following code.

Please notice you need to replace the YourBlockId with your own Static Block Id.


5 Responses to “How to Add Static Block to your theme – Magento”

  1. Nicole December 1, 2010 at 12:36 pm #


    a simple question – when you create a Block ID, is it the http address where the system finds the block -photo?


  2. Nicole December 1, 2010 at 12:44 pm #

    I have found it already, thanks!

    • quicoto December 1, 2010 at 12:55 pm #


      I was going to say: A Static Block can not be surfed like a Page. So there is no address 😛

      Regards 😉

  3. Nicole December 2, 2010 at 4:41 pm #


  4. Will July 20, 2012 at 6:37 pm #

    Cant get translations to work with this method

Leave a Reply

Add <code> Some Code </code> by using this tags.