Exemple #1
0
function om_get_icons_preview_list()
{
    $arr = om_get_icons_list();
    $out = '';
    foreach ($arr as $id => $v) {
        $out .= '<div class="om-items-group-label">' . $v['name'] . '</div>';
        foreach ($v['icons'] as $icon) {
            $value = $v['prefix'] . $icon;
            $out .= '<div class="om-item" title="' . esc_attr($icon) . '" data-icon="' . $value . '"><i class="' . om_icon_classes($value) . '"></i></div>';
        }
    }
    return $out;
}
Exemple #2
0
    $social .= '<a href="' . $gplus . '" target="_blank"><i class="' . om_icon_classes('fa-google-plus') . '"></i></a>';
}
if ($instagram) {
    $social .= '<a href="' . $instagram . '" target="_blank"><i class="' . om_icon_classes('fa-instagram') . '"></i></a>';
}
if ($linkedin) {
    $social .= '<a href="' . $linkedin . '" target="_blank"><i class="' . om_icon_classes('fa-linkedin') . '"></i></a>';
}
if ($pinterest) {
    $social .= '<a href="' . $pinterest . '" target="_blank"><i class="' . om_icon_classes('fa-pinterest') . '"></i></a>';
}
if ($twitter) {
    $social .= '<a href="' . $twitter . '" target="_blank"><i class="' . om_icon_classes('fa-twitter') . '"></i></a>';
}
if ($youtube) {
    $social .= '<a href="' . $youtube . '" target="_blank"><i class="' . om_icon_classes('fa-youtube') . '"></i></a>';
}
?>

<?php 
$uid = uniqid();
?>

<div class="modal fade popup" id="<?php 
echo $uid;
?>
" role="dialog">
    <div class="modal-dialog about_us_popup">
    	<div class="modal-content">
        	<button type="button" class="close" data-dismiss="modal">&times;</button>
        	<div class="popup_photo"><?php