<?php
/**
   * The template for Social icons.
   *
   *
   * @package   igor 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>
   * igor is distributed under the terms of the GNU GPL
*/
?>
<ul>
    <li class="facebook">
        <?php if (get_theme_mod("igor_soc_facebook")) { ?>
        <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_facebook")); ?>'><i class="fa fa-facebook"></i></a><?php } ?>
    </li>
    <li class="twitter">
        <?php if (get_theme_mod("igor_soc_twitter")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_twitter")); ?>'><i class="fa fa-twitter"></i></a>
        <?php } ?>
    </li>
    <li class="skype">
        <?php if (get_theme_mod("igor_soc_skype")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_attr(get_theme_mod("igor_soc_skype")); ?>'><i class="fa fa-skype"></i></a>
        <?php } ?>
    </li>
    <li class="soundcloud">
        <?php if (get_theme_mod("igor_soc_soundcloud")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_soundcloud")); ?>'><i class="fa fa-soundcloud"></i></a>
        <?php } ?>
    </li>
    <li class="dribbble">
        <?php if (get_theme_mod("igor_soc_dribbble")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_dribbble")); ?>'><i class="fa fa-dribbble"></i></a>
        <?php } ?>
    </li>
    <li class="google">
        <?php if (get_theme_mod("igor_soc_google")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_google")); ?>'><i class="fa fa-google-plus"></i></a>
        <?php } ?>
    </li>
    <li class="vimeo">
        <?php if (get_theme_mod("igor_soc_vimeo")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_vimeo")) ; ?>'><i class="fa fa-vimeo-square"></i></a>
        <?php } ?>
    </li>
    <li class="flickr">
        <?php if (get_theme_mod("igor_soc_flickr")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_flickr")); ?>'><i class="fa fa-flickr"></i></a>
        <?php } ?>
    </li>
    <li class="youtube">
        <?php if (get_theme_mod("igor_soc_youtube_play")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_youtube_play")); ?>'><i class="fa fa-youtube-play"></i></a>
        <?php } ?>
    </li>
    <li class="instagram">
        <?php if (get_theme_mod("igor_soc_instagram")) { ?>
            <a target=_blank class="soc" href='<?php echo esc_url(get_theme_mod("igor_soc_instagram")); ?>'><i class="fa fa-instagram"></i></a>
        <?php } ?>
    </li>
    <li class="linkedin">
        <?php if (get_theme_mod("igor_soc_linkedin")) { ?>
            <a target=_blank class="soc" href='<?php esc_url(get_theme_mod("igor_soc_linkedin")); ?>'><i class="fa fa-linkedin"></i></a>
        <?php } ?>
    </li>
</ul>