{ifset $themeOptions->socialIcons->displayIcons}
    {ifset $themeOptions->socialIcons->icons}
    <ul class="social-icons clearfix">
        {foreach $themeOptions->socialIcons->icons as $icon}
        <li class="left"><a href="{if !empty($icon->link)}{$icon->link}{else}#{/if}"><img src="{$icon->iconUrl}" height="17" width="17" alt="{$icon->title}" title="{$icon->title}"></a></li>
        {/foreach}
    </ul>
    {/ifset}
{/ifset}