| Server IP : 104.26.5.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/leapdubai/public_html/wp-content/themes/printx/template-parts/ |
Upload File : |
<?php
$author_data = get_the_author_meta( 'description', get_query_var( 'author' ) );
$author_bio_avatar_size = 180;
$post_author_id = get_the_author_meta('ID');
$facebook = get_user_meta( $post_author_id, 'user_fb' , true );
$twitter = get_user_meta( $post_author_id, 'user_tw' , true );
$linkedin = get_user_meta( $post_author_id, 'user_ld' , true );
$instagram = get_user_meta( $post_author_id, 'user_in' , true );
?>
<div class="postbox-author d-flex mb-95">
<div class="postbox-author-thumb">
<?php print get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size, '', '', [ 'class' => 'media-object img-circle' ] );?>
</div>
<div class="postbox-author-content">
<span><?php echo esc_html__('About Author', 'printx'); ?></span>
<h4 class="postbox-author-title"><?php echo ucwords(get_the_author()); ?></h4>
<?php if (!empty($author_data)) : ?>
<p><?php print esc_html($author_data); ?></p>
<?php endif; ?>
<?php if(function_exists('tp_user_custom_social_fields')) : ?>
<div class="postbox-author-social">
<?php if(!empty($facebook)) : ?>
<a href="<?php echo esc_url($facebook); ?>"><i class="fa-brands fa-facebook-f"></i></a>
<?php endif; ?>
<?php if(!empty($twitter)) : ?>
<a href="<?php echo esc_url($twitter); ?>"><i class="fa-brands fa-twitter"></i></a>
<?php endif; ?>
<?php if(!empty($linkedin)) : ?>
<a href="<?php echo esc_url($linkedin); ?>"><i class="fa-brands fa-linkedin-in"></i></a>
<?php endif; ?>
<?php if(!empty($instagram)) : ?>
<a href="<?php echo esc_url($instagram); ?>"><i class="fa-brands fa-instagram"></i></a>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>