C:\xampp\htdocs\landing\wp-content\updraft\themes-old\pennews\template-parts\author-box.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
 * Display detail author of current post
 * Use in single post
 *
 */
$post_author penci_get_setting'penci_hide_single_author_box' );
$description get_the_author_meta'description' );



if( 
$post_author ) {
    return;
}

?>
<div class="penci-post-author penci_media_object">
    <div class="author-img penci_mobj__img">
        <?php echo wp_kses_postget_avatarget_the_author_meta'email' ), '100' ) ); ?>
    </div>
    <div class="penci-author-content penci_mobj__body">
        <h5><?php the_author_posts_link(); ?></h5>
        <div class="author-description">
        <?php the_author_meta'description' ); ?>
        </div>
        <div class="author-socials">
            <?php if ( get_the_author_meta'user_url' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?> class="author-social" href="<?php the_author_meta'user_url'); ?>"><i class="fa fa-globe"></i></a>
            <?php endif; ?>
            <?php if ( get_the_author_meta'facebook' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?> class="author-social" href="http://facebook.com/<?php echo esc_attrthe_author_meta'facebook' ) ); ?>"><i class="fa fa-facebook"></i></a>
            <?php endif; ?>
            <?php if ( get_the_author_meta'linkedin' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?> class="author-social" href="https://www.linkedin.com/<?php echo esc_attrthe_author_meta'linkedin' ) ); ?>"><i class="fa fa-linkedin"></i></a>
            <?php endif; ?>
            <?php if ( get_the_author_meta'twitter' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?> class="author-social" href="http://twitter.com/<?php echo esc_attrthe_author_meta'twitter' ) ); ?>"><i class="fa fa-twitter"></i></a>
            <?php endif; ?>
            <?php if ( get_the_author_meta'googleplus' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?> class="author-social" href="http://plus.google.com/<?php echo esc_attrthe_author_meta'googleplus' ) ); ?>?rel=author"><i class="fa fa-google-plus"></i></a>
            <?php endif; ?>
            <?php if ( get_the_author_meta'instagram' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?> class="author-social" href="http://instagram.com/<?php echo esc_attrthe_author_meta'instagram' ) ); ?>"><i class="fa fa-instagram"></i></a>
            <?php endif; ?>
            <?php if ( get_the_author_meta'pinterest' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?> class="author-social" href="http://pinterest.com/<?php echo esc_attrthe_author_meta'pinterest' ) ); ?>"><i class="fa fa-pinterest"></i></a>
            <?php endif; ?>
            <?php if ( get_the_author_meta'tumblr' ) ) : ?>
                <a target="_blank"<?php echo penci_get_rel_noopener(); ?>  class="author-social" href="http://<?php echo esc_attrthe_author_meta'tumblr' ) ); ?>.tumblr.com/"><i class="fa fa-tumblr"></i></a>
            <?php endif; ?>
        </div>
    </div>
</div>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586