<?php
/**
   * The template for Social icons.
   *
   *
   * @package   ospersonality WordPress Theme
   * @copyright Copyright (C) 2016, OrdaSoft
   * @license    http://www.gnu.org/licenses/gpl-2.0.html  GNU General Public License v2 or later
   * @author      AUTHOR <www.ordasoft.com>
   * ospersonality is distributed under the terms of the GNU GPL
*/
?>
<ul class="social-icons">
    <?php if (get_theme_mod("ospersonality_soc_facebook")) { ?>
    <li class="facebook">
        <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_facebook")); ?>'><i class="fa fa-facebook"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_twitter")) { ?>
    <li class="twitter">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_twitter")); ?>'><i class="fa fa-twitter"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_skype")) { ?>
    <li class="skype">
            <a target=_blank class="soc" href='<?php echo esc_attr(get_theme_mod("ospersonality_soc_skype")); ?>'><i class="fa fa-skype"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_soundcloud")) { ?>
    <li class="soundcloud">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_soundcloud")); ?>'><i class="fa fa-soundcloud"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_dribbble")) { ?>
    <li class="dribbble">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_dribbble")); ?>'><i class="fa fa-dribbble"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_google")) { ?>
    <li class="google">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_google")); ?>'><i class="fa fa-google-plus"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_vimeo")) { ?>
    <li class="vimeo">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_vimeo")) ; ?>'><i class="fa fa-vimeo-square"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_flickr")) { ?>
    <li class="flickr">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_flickr")); ?>'><i class="fa fa-flickr"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_youtube_play")) { ?>
    <li class="youtube">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_youtube_play")); ?>'><i class="fa fa-youtube-play"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_instagram")) { ?>
    <li class="instagram">
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("ospersonality_soc_instagram")); ?>'><i class="fa fa-instagram"></i></a>
    </li>
    <?php } ?>
    <?php if (get_theme_mod("ospersonality_soc_linkedin")) { ?>
    <li class="linkedin">
            <a target=_blank class="soc" href='<?php esc_url(get_theme_mod("ospersonality_soc_linkedin")); ?>'><i class="fa fa-linkedin"></i></a>
    </li>
    <?php } ?>
</ul>