Forum

Forums


  • XURL_ICONS has now it's own template. So copy file social_xurl_template.php to social folder under theme templates.

    Example of using:

     $SOCIAL_XURL_TEMPLATE['default']['start'] = '<div class="social-icons">';
     $SOCIAL_XURL_TEMPLATE['default']['item'] = '<a class="icon icon-{XURL_ICONS_ID}" href="{XURL_ICONS_HREF}"></a>'; 
     $SOCIAL_XURL_TEMPLATE['default']['end'] = '</div>';
    
     $SOCIAL_XURL_TEMPLATE['footer']['start'] = '<ul class="social-icons list-soc">';
     $SOCIAL_XURL_TEMPLATE['footer']['item'] = '<li><a class="icon-{XURL_ICONS_ID}" href="{XURL_ICONS_HREF}"></a></li>'; 
     $SOCIAL_XURL_TEMPLATE['footer']['end'] = '</ul>';

    in theme.php

    {XURL_ICONS: template=default} 
    {XURL_ICONS: template=footer}

    it's all.

     

Moderator(s): Jimako, Kizi, kreossino