403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/johnweru.com/wp-content/themes/inbio/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/johnweru.com/wp-content/themes/inbio/template-parts/biography.php
<?php
/**
 * The template part for displaying an Author biography
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package inbio
 */
$author_id = get_the_author_meta('ID');
$author_info = get_userdata(get_the_author_meta('ID'));
$author_role = implode(', ', $author_info->roles);
?>
<!-- Start Author  -->
<div class="about-author">
    <div class="media">
        <div class="thumbnail">
            <a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>">
                <?php
                $rainbow_author_bio_avatar_size = apply_filters('rainbow_author_bio_avatar_size', 105);
                echo get_avatar(get_the_author_meta('user_email'), $rainbow_author_bio_avatar_size);
                ?>
            </a>
        </div>
        <div class="media-body">
            <div class="author-info">
                <h5 class="title">
                    <a class="hover-flip-item-wrapper"
                       href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>">
                        <span class="hover-flip-item">
                            <span data-text="<?php echo get_the_author(); ?>"><?php echo get_the_author(); ?></span>
                        </span>
                    </a>
                </h5>
                <?php if (class_exists('ACF')) {
                    $designation = rainbow_get_acf_data('user_designation', 'user_' . $author_id);
                    ?>
                    <span class="b3 subtitle"><?php echo esc_html($designation); ?></span>
                <?php } ?>
            </div>
            <div class="content">
                <?php
                if (get_the_author_meta('user_description')) { ?>
                    <p class="b3 description"><?php the_author_meta('user_description'); ?></p>
                <?php } ?>

                <?php if (class_exists('ACF')) { ?>
                    <?php if (have_rows('rainbow_add_social_icons', 'user_' . $author_id)): ?>
                        <ul class="social-share social-share__with-bg size-md">
                            <?php
                            while (have_rows('rainbow_add_social_icons', 'user_' . $author_id)): the_row();
                                $social_icon = get_sub_field('rainbow_enter_social_icon_markup');
                                $social_link = get_sub_field('rainbow_enter_social_icon_link'); ?>
                                <li>
                                    <a href="<?php echo esc_url($social_link); ?>"><?php echo rainbow_awescapeing($social_icon); ?></a>
                                </li> <?php
                            endwhile;
                            ?>
                        </ul>
                    <?php endif; ?>
                <?php } ?>
            </div>
        </div>
    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit