Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
firepot
/
next_old
/
wp-content
/
themes
/
cyarb
/
inc
:
social-link.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * Social Link * @package WordPress * @subpackage cyarb */ if ( ! function_exists( 'cyarb_social_link' ) ) : function cyarb_social_link(){ global $cyarb_opt; if( isset( $cyarb_opt['cyarb_social_target'] ) ) { $target = $cyarb_opt['cyarb_social_target']; } else { $target = '_blank'; } ?> <?php if (isset($cyarb_opt['facebook-url'] ) && $cyarb_opt['facebook-url']) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['facebook-url']); ?>"> <i class="lni lni-facebook-filled"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['twitter-url'] ) && $cyarb_opt['twitter-url']) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['twitter-url']);?>" > <i class="lni lni-twitter-original"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['instagram-url'] ) && $cyarb_opt['instagram-url']) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['instagram-url']);?>" > <i class="lni lni-instagram-original"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['youtube-url'] ) && $cyarb_opt['youtube-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['youtube-url']);?>" > <i class="fab fa-youtube"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['linkedin-url'] ) && $cyarb_opt['linkedin-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['linkedin-url']);?>" > <i class="fab fa-linkedin"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['paypal-url'] ) && $cyarb_opt['paypal-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['paypal-url']); ?>" > <i class="fab fa-paypal"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['google-url'] ) && $cyarb_opt['google-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['google-url']);?>" > <i class="fab fa-google-plus"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['pinterest-url'] ) && $cyarb_opt['pinterest-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['pinterest-url']);?>" > <i class="fab fa-pinterest"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['dribbble-url'] ) && $cyarb_opt['dribbble-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['dribbble-url']);?>" > <i class="fab fa-dribbble"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['tumblr-url'] ) && $cyarb_opt['tumblr-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['tumblr-url']);?>" > <i class="fab fa-tumblr"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['call-url'] ) && $cyarb_opt['call-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['call-url']);?>" > <i class="fas fa-phone-volume"></i></a> </li> <?php } ?> <?php if (isset($cyarb_opt['email-url'] ) && $cyarb_opt['email-url'] ) { ?> <li> <a target="<?php echo esc_attr($target); ?>" href="<?php echo esc_url($cyarb_opt['email-url']);?>" > <i class="fas fa-envelope-square"></i></a> </li> <?php } ?> <?php } endif; ?>