MathieuHerman
12/23/2016 - 9:35 AM

l() the DMS way -> vyvey en warmtepomp

l() the DMS way -> vyvey en warmtepomp

<?php print l('<span class="fa fa-skype"></span>', $skype, $options = array('attributes' => array('class' => array('social_link skype')), 'html' => TRUE,)); ?>


of //


<?php
        //get custom image style
        $options = array(
            'attributes' => array(
                'class' => array(
                    'swipebox',
                ),
            ),
            'html' => TRUE,
        );
        ?>
        
of query

$options = array(
    'attributes' => array(
        'class' => array(
            'readmore',
        ),
    ),
    'query' => array(
        'product' => $title,
    ),
    'html' => TRUE,
);

<p><?php print l(t('Read more'), $contact_link, $options); ?></p>