« Go back to Template Functions


Returns a static block.

Static blocks are created through your Magento CMS, there’s usually one already made for footer links. These can be useful for content managed snippets of text, for example, a short bio of the store for use in the footer, or a discount callout to be displayed across the site.


<?php get_static_block($identifier); ?>
  • $identifier: the identifier for your static block.


/* Return a static block - the footer links */

$staticblock = get_static_block("footer_links");
echo $staticblock;

Related Functions